change syslogtag to programname (and you may need to add a : after the vriable)
David Lang
On Sat, 14 Aug 2021, Fourhundred Thecat via rsyslog wrote:
Date: Sat, 14 Aug 2021 06:17:23 +0200
From: Fourhundred Thecat via rsyslog
To: rsyslog@lists.adiscon.com
Cc: Fourhundred Thecat <400the...@gmx.
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 r
2 matches
Mail list logo