> -----Original Message-----
> From: [email protected] [mailto:rsyslog-
> [email protected]] On Behalf Of Partha Chowdhury
> Sent: Sunday, July 24, 2011 3:09 PM
> To: [email protected]
> Subject: [rsyslog] To customize rsyslog timestamp format to show
> messages in 12 hour format with am/pm
> 
> hallo to everyone on the list.
> 
> I am using rsyslog version 5.8.0.
> 
> My /etc/rsyslog file is at [1]
> 
> With the above config, a typical message in message log looks like
> following:
> 
> > Jul 24 16:35:53 localhost ntpd[1279]: synchronized to 89.221.207.113,
> stratum 2
> 
> However i would like to modify it so that it will look like the
> following:
> 
> 
> > Jul 24 04:35:53 PM localhost ntpd[1279]: synchronized to
> 89.221.207.113, stratum 2

There is no such format available as a canned format. Why is this important?

Rainer

> 
> I have read the rsyslog documentation and looked at different rsyslog
> config files via google, but i cannot seem to find any example nor can
> i
> find  any property replacer which does the above.
> 
> So, am i missing any obvious hint or is it not possible to do this ?
> 
> [1]http://pastebin.com/kQwR7taZ
> 
> 
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to