[SunHELP] syslog date format
sunhelp at sunhelp.org
Fri Apr 20 13:14:39 CDT 2001
On Friday 20 April 2001 16:19, you wrote:
> the syslog date/time stamp is in the format
> Mar 14 10:09:41 hostname etc. etc. etc.
> I need to get it to display like the following:
> 14 Mar 2001 10:09:41 hostname etc. etc. etc.
> 14 03 2001 10:09:41 hostname etc. etc. etc.
Why? (just puzzled)
> Any ideas? Any easy way to do this?
> I see that the "date" command is fixed and I looked at the
> syslog.conf file, but didn't get any help. I also looked at man
> pages for timezone,
I don't think you'll be able to change the date format in the log files
with the standard syslogd. It's possible that a syslogd replacement
will do this (syslog-ng).
Or you can post process with a simple script.
More information about the SunHELP