[CentOS] log time formats - where is this defined
Albert McCann
mac358 at newsguy.com
Sun Feb 27 20:56:51 UTC 2011
> -----Original Message-----
> From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On
> Behalf Of Rob Kampen
> Sent: Sunday, February 27, 2011 3:34 PM
> To: CentOS mailing list
> Subject: [CentOS] log time formats - where is this defined
>
> One of my servers is using ISO datetime formats
> (2011-02-27T15:22:15.519857-05:00) in the logs
> the rest use the default redhat/CentOS format (Feb 27 15:10:21).
> After a couple of hours searching google I cannot find where this is
> defined.
> I know I changed it some months ago as an experiment but forgotten
> where this was done.
> the ISO format breaks logwatch - thus I need to revert.
I had problems with that, here's the fix:
Add to first line of /etc/rsyslog.conf:
$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
Here's the Bugzilla for this problem:
https://bugzilla.redhat.com/show_bug.cgi?id=583621
Al
More information about the CentOS
mailing list