logger: should priority come before octet-count?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

When providing --octet-count with --rfc5424, the message prefixes the
message length on the message. This however comes before priority, and
the syslog message looks like:

120 <13>1 2023-12-11T14:22:08.433695-06:00 kora root - rsyslog_dbg [timeQuality tzKnown="1" isSynced="0"] dummy goes to town

If you notice, <13> is shown in the message itself, as opposed to be
interpreted as priority by the logging process.

Command: ./logger --rfc5424 --octet-count --stderr  --socket /dev/log "dummy goes to town"

Without --octet-count, the message is fine comes out fine.

-- 
Goldwyn




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux