Re: Year in log files

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





On Wed, Jun 22, 2011 at 11:06 PM, Fajar Priyanto <fajarpri@xxxxxxxxxx> wrote:
Hi,
Can we display year in log files timestamp?
We are being audited and the auditor wants to know when we apply
certain patches.
yum.log shows it, but it doesn't have the year.
I can argue based on common sense, but it would be much nicer if the
year is there.


Example:
Apr 12 11:41:25 Updated: krb5-libs-1.6.1-55.el5_6.1.i386
Apr 12 11:41:27 Updated: openssl-0.9.8e-12.el5_5.7.i686

If you're using rsyslog, check this out: http://www.rsyslog.com/doc/property_replacer.html

--
Giovanni Tirloni
_______________________________________________
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