On Thu, Apr 14, 2011 at 01:19:03PM -0300, Lima Union wrote:
> Hi, I believe that this question is slightly OT but I'm seeing this
> syslog format in Postfix: "Apr 10 08:53:12 relay1
> postfix/cleanup[16550]:.....", my question is if there's a way to
> have also printed the year in the date field? while looking for
> historic data it can be really useful. I'm running RHEL 5.6 with
> the default syslog package, I've looked at the man page and googled
> without much success, any ideas? TIA!
Aren't you rotating your logs? Pipe them through sed(1) if desired,
or just save them in a year/month/day directory tree, such that the
year would be part of the pathname.
--
Offlist mail to this address is discarded unless
"/dev/rob0" or "not-spam" is in Subject: header