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 rsyslog 8.1901 on Debian 10 thank you, _______________________________________________ rsyslog mailing list https://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.