aboutsummaryrefslogtreecommitdiff
path: root/targets/pseudo/kernel
diff options
context:
space:
mode:
authorEugene Grosbein <eugen@FreeBSD.org>2022-08-08 22:21:02 +0000
committerEugene Grosbein <eugen@FreeBSD.org>2022-08-08 22:21:02 +0000
commite9ae9fa93745669b7dd0341d333257ad6cfe8e37 (patch)
tree024003e1b88e2b2b463a927e7ec99f21a1f46f96 /targets/pseudo/kernel
parente87ff1ea225246e1d983c4c2c1ecfd0119fd138c (diff)
downloadsrc-e9ae9fa93745669b7dd0341d333257ad6cfe8e37.tar.gz
src-e9ae9fa93745669b7dd0341d333257ad6cfe8e37.zip
syslog(3): unbreak log generation using fabricated PID
Recover application ability to supply fabricated PID embedded into ident that was lost when libc switched to generation of RFC 5424 log messages, for example: logger -t "ident[$$]" -p user.notice "test" It is essential for long running scripts. Also, this change unbreaks matching resulted entries by ident in syslog.conf: !ident *.* /var/log/ident.log Without the fix, the log (and matching) was broken: Aug 1 07:36:58 hostname ident[123][86483]: test Now it works as expected and worked before breakage: Aug 1 07:39:40 hostname ident[123]: test Differential: https://reviews.freebsd.org/D36005 MFC after: 2 weeks
Diffstat (limited to 'targets/pseudo/kernel')
0 files changed, 0 insertions, 0 deletions