[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Changes in the syslog date format?



On Sat, 2022-11-05 at 11:34 +0100, local10 wrote:
> Nov 5, 2022, 09:55 by scdbackup@gmx.net:
> 
> > Hi,
> > 
> > local10 wrote:
> > 
> > > Any ideas as to get the old syslog date format back?
> > > 
> > 
> > The internet points to /etc/rsyslog.conf and in there:
> > 
> >  #
> >  # Use traditional timestamp format.
> >  # To enable high precision timestamps, comment out the following line.
> >  #
> >  $ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
> > 
> 
> 
> Doesn't seem to work for me.

Didn't work for me earlier.  To fix this I had to add

$template normal,"<%PRI%>%TIMESTAMP% %syslogtag%%msg%"


Who thought of adding "[localhost]" in the middle of all new syslog
lines, and why didn't they coordinate with the logcheck team?

-Jim P.







Reply to: