opnsense-src/usr.sbin/syslogd
Vadim Goncharov a81b559dad Fix saving STRUCTURED-DATA in RFC 5424 log format
When saving log files in RFC 5424 format presence of STRUCTURED-DATA
in message caused line to not appear in log file at all, because
a variable forgotten to initialize. This could be tested by (slightly
modified) example from RFC:

    echo '<165>1 2003-10-11T22:14:15.003Z mymachine.example.com su 12345 ID47 [exampleSDID@32473 iut="3" eventSource="Application" eventID="1011"][id@2 test="tast"] BOM"su root" failed for lonvick on /dev/pts/8" ' | nc -w1 -Uu /var/run/log

While here, update stale information in comment to logmsg() that RFC 5424
log format was not supported.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/717
2023-07-06 23:15:10 -06:00
..
ftp.conf Move all syslogd related configs to usr.sbin/syslogd/ 2018-08-21 17:01:47 +00:00
lpr.conf Move all syslogd related configs to usr.sbin/syslogd/ 2018-08-21 17:01:47 +00:00
Makefile pkgbase: Create a FreeBSD-syslogd package 2021-12-21 10:17:40 +01:00
Makefile.depend Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
pathnames.h General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
ppp.conf Move all syslogd related configs to usr.sbin/syslogd/ 2018-08-21 17:01:47 +00:00
syslog.conf log daemon.info to /var/log/daemon.log by default 2019-09-17 20:03:20 +00:00
syslog.conf.5 syslog.conf.5: Fix the message priority order 2021-09-21 12:07:39 -04:00
syslogd.8 syslogd: Increase message size limits 2021-03-23 12:49:58 -04:00
syslogd.c Fix saving STRUCTURED-DATA in RFC 5424 log format 2023-07-06 23:15:10 -06:00