You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TIMESTAMP, HOSTNAME and APP-NAME come from what the device already has — the
wall clock it acquired at boot, the address on its interface, and its own name.
PROCID stays nil, because a bare-metal image has no process to identify.
<134>1 2026-08-15T13:27:08.310000Z 10.0.2.15 solid-syslog-example - BOOT - device started
Flash +5,116 B (+392 on the previous stage)
RAM +1,912 B (unchanged)
392 bytes is what a record that says when it happened and which device it came
from costs over one that says neither. That is the difference between a log line
and evidence, and it is worth knowing the price of separately.
Two things the adapters have to get right. The timestamp struct is zeroed before
use, so a clock that cannot answer leaves Month == 0, fails the library's
validation, and is emitted as the nil value rather than as a wrong time. And the
hostname is read under the lwIP core lock, with ip4addr_ntoa_r rather than
ip4addr_ntoa — the latter shares one static buffer across callers.
RFC 5424 section 6.2.4 allows an address where a device has no resolvable name,
which is this device exactly.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
0 commit comments