2023年3月6日 星期一

BSD-syslog format (RFC 3164)

The total message cannot be longer than 1024 bytes.

A BSD-syslog message consists of the following parts:
PRI  -  represents the Facility and Severity of the message. It's a calculated value: Facility * 8 + Severity
HEADER  -  contains a timestamp and the hostname (without the domain name) or the IP address of the device.
MSG  -  contains the name of the program or process that generated the message, and the text of the message itself

沒有留言: