Eugene Grosbein
e9ae9fa937
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
2022-08-09 05:21:02 +07:00
..
2021-10-29 10:08:24 -04:00
2022-06-12 20:53:16 +02:00
2022-07-28 11:23:26 -03:00
2021-09-30 16:31:04 -05:00
2022-07-21 22:02:44 +02:00
2021-08-26 22:06:53 +02:00
2021-01-04 20:48:48 +01:00
2021-03-18 11:09:10 +00:00
2021-01-07 09:31:03 +00:00
2022-04-08 10:11:25 +02:00
2020-04-19 02:20:39 +00:00
2022-04-02 21:04:31 -05:00
2020-07-19 23:56:19 +00:00
2019-12-11 17:37:53 +00:00
2019-12-11 17:37:53 +00:00
2019-12-20 19:53:05 +00:00
2021-09-29 22:02:25 -06:00
2022-04-20 17:52:04 +02:00
2019-12-11 17:37:53 +00:00
2020-04-19 02:18:40 +00:00
2021-06-19 17:50:03 +02:00
2019-12-11 17:37:53 +00:00
2022-08-09 05:21:02 +07:00
2022-05-14 13:46:39 +02:00
2021-11-13 21:42:03 +01:00
2019-12-11 17:37:53 +00:00
2022-01-26 11:25:31 +02:00
2020-08-25 13:23:31 +00:00
2022-03-20 11:22:55 +01:00
2021-10-15 15:10:24 -04:00
2022-06-30 10:02:37 -07:00
2021-09-07 10:23:14 +02:00
2022-03-09 22:23:35 +01:00
2021-12-07 00:24:19 +00:00
2022-07-20 10:41:11 +02:00
2022-01-22 21:08:55 +01:00
2022-03-01 08:06:41 -07:00
2021-04-13 11:25:27 -04:00
2020-08-04 21:09:36 +00:00
2019-12-11 17:37:53 +00:00
2021-04-09 23:46:24 +03:00
2021-10-27 09:30:24 -07:00
2021-12-13 18:47:15 -05:00
2021-10-04 11:38:24 +02:00
2022-03-28 19:27:58 +02:00
2021-11-29 13:57:24 -05:00
2019-12-05 13:20:15 +00:00
2020-05-28 22:05:50 +00:00
2019-12-20 19:53:05 +00:00
2022-01-17 16:34:41 -08:00
2022-04-20 16:58:33 +02:00
2021-10-22 19:57:57 -04:00
2019-12-11 17:37:53 +00:00
2022-05-14 13:45:25 +02:00
2022-04-27 11:04:10 +02:00
2022-07-16 10:26:51 -07:00
2019-12-11 17:37:53 +00:00
2022-08-03 11:02:28 +01:00
2020-10-01 01:10:51 +00:00
2021-03-05 04:15:55 -05:00
2022-06-04 12:28:20 +02:00
2019-10-10 12:46:34 +00:00
2022-02-25 10:35:47 +01:00
2020-01-07 21:44:27 +00:00
2021-04-22 19:32:34 -04:00
2022-03-21 09:33:46 -04:00
2019-12-11 17:37:53 +00:00
2021-01-13 23:56:18 -06:00
2020-03-23 18:26:23 +00:00
2021-03-16 07:13:07 +01:00
2022-07-03 17:11:09 -07:00
2022-03-27 19:46:32 +02:00
2021-12-05 23:00:25 +01:00
2019-12-11 17:37:53 +00:00
2022-03-20 20:21:03 +01:00
2019-12-11 17:37:53 +00:00
2022-04-06 18:41:08 +02:00
2022-04-02 14:53:56 +02:00
2021-10-22 11:41:36 -07:00
2021-04-02 14:31:57 +00:00
2019-12-11 17:37:53 +00:00
2022-07-22 00:23:08 +02:00
2022-05-14 13:45:25 +02:00
2020-09-11 13:28:37 +00:00
2020-06-17 10:42:20 +00:00
2019-12-11 17:37:53 +00:00
2022-05-22 12:36:48 -04:00
2022-08-07 14:53:53 +02:00
2019-12-21 21:01:03 +00:00
2022-06-20 10:16:20 +02:00
2019-09-05 14:15:47 +00:00
2022-07-26 11:17:50 +03:00
2022-03-10 15:39:53 -08:00
2022-07-10 16:31:35 -07:00
2022-04-10 00:47:49 +03:00
2021-10-28 17:05:53 -04:00
2021-12-21 10:17:27 +01:00
2020-10-09 19:12:44 +00:00
2021-12-21 10:17:27 +01:00
2019-12-11 17:37:53 +00:00
2021-08-22 23:49:23 +12:00
2021-12-03 11:07:30 -08:00
2020-10-01 01:10:51 +00:00
2019-12-11 17:37:53 +00:00
2022-07-19 08:59:53 -07:00
2020-07-15 18:28:54 +00:00
2020-07-15 18:28:54 +00:00
2020-09-23 02:17:44 +00:00
2020-03-14 15:15:27 +00:00
2020-01-04 20:19:25 +00:00
2019-12-02 20:58:04 +00:00
2019-12-11 17:37:53 +00:00
2022-06-30 10:31:26 -04:00
2019-12-13 05:11:34 +00:00
2022-05-03 11:04:41 +01:00
2021-12-31 00:14:53 -07:00
2020-09-11 13:28:37 +00:00
2022-07-30 22:51:38 -07:00
2020-05-21 01:55:35 +00:00
2019-12-11 17:37:53 +00:00
2020-05-21 21:00:46 +00:00
2022-03-02 12:33:40 +01:00
2022-06-04 19:54:25 +02:00
2022-08-07 16:30:24 +02:00
2020-04-01 05:45:12 +00:00
2019-12-11 17:37:53 +00:00
2022-07-27 18:20:47 +02:00
2021-12-21 10:17:27 +01:00
2021-08-04 16:56:55 -04:00
2021-12-21 10:17:27 +01:00
2022-04-30 16:57:54 -07:00
2022-02-08 21:46:08 +01:00
2022-08-04 19:33:34 +02:00
2022-06-17 20:34:58 +01:00
2022-05-23 16:52:49 -07:00
2022-07-07 13:54:57 -07:00
2020-09-18 17:17:46 +00:00