cron name in syslog

Good day everyone.

I noticed that cron messages in syslog contains full path in programname instead of short name. (e.g /usr/sbin/cron[31067])
looks like only cron does that. This makes filtering difficult in rsyslog. Is there a way to change this behavior?

Code:
Jun 30 19:40:30 hostname ntpd[684]: leapsecond file ('/var/db/ntpd.leap-seconds.list'): expired
Jul 30 18:03:20 hostname sshd[31073]: error: PAM: Authentication error for
Jul 30 18:05:00 hostname /usr/sbin/cron[31087]: (root) CMD (/usr/libexec/atrun)
 
Back
Top