Re: log time formats - where is this defined

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



Albert McCann wrote:
-----Original Message-----
From: centos-bounces@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx] On
Behalf Of Rob Kampen
Sent: Sunday, February 27, 2011 3:34 PM
To: CentOS mailing list
Subject:  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


Exactly my problem - thanks for the heads up - hopefully later versions of logwatch learn how to tell the time.

Here's the Bugzilla for this problem:

https://bugzilla.redhat.com/show_bug.cgi?id=583621

Al

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos
begin:vcard
fn:Rob Kampen
n:Kampen;Rob
org:Team Torman Realty, LLC
adr:;;13019 Water Point Blvd;Windermere;FL;34786;USA
email;internet:rkampen@xxxxxxxxxxxxxxxxxxxx
tel;work:407-876-4108
tel;fax:407-876-3591
tel;home:407-876-4854
tel;cell:407-341-3815
note:LCAM & CPM Candidate
url:www.robkampen.com
version:2.1
end:vcard

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux