the...@gmx.ch>
Subject: [rsyslog] syslogtag: only log daemon name, without the [pid]
Hello,
I have defined my own template for logging:
$template long-iso,"%$NOW% %timereported:8:15% %syslogtag% %msg%\n"
Which logs in following format:
2021-08-14 05:55:31 sshd[1856]: message
Hello,
I have defined my own template for logging:
$template long-iso,"%$NOW% %timereported:8:15% %syslogtag% %msg%\n"
Which logs in following format:
2021-08-14 05:55:31 sshd[1856]: message
How can I make the %syslogtag% to only log daemon name, without the
[pid] part ?
I am using
2 matches
Mail list logo