Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: GlitchFreak on May 20, 2008, 12:07:12 AM

Title: Converting tai64n to human readable
Post by: GlitchFreak on May 20, 2008, 12:07:12 AM
Hey there

Is there any way I can reformat my logs so that the timestamps are in human readable format?

Thanks!
G
Title: Re: Converting tai64n to human readable
Post by: cactus on May 20, 2008, 12:23:39 AM
Hey there

Is there any way I can reformat my logs so that the timestamps are in human readable format?

Thanks!
G
You could either view them through the server-manager as there all date formats should be in a standard date format. Otherwise something like this:

Code: [Select]
cat /var/log/filename | tai64nlocal
Title: Re: Converting tai64n to human readable
Post by: GlitchFreak on May 20, 2008, 08:21:18 PM
You could either view them through the server-manager as there all date formats should be in a standard date format. Otherwise something like this:

Code: [Select]
cat /var/log/filename | tai64nlocal

Thanks!

Would it be possible to change a setting somewhere so that the times are logged in human readable time always, never in tai64n?
Title: Re: Converting tai64n to human readable
Post by: cactus on May 20, 2008, 11:47:25 PM
Thanks!

Would it be possible to change a setting somewhere so that the times are logged in human readable time always, never in tai64n?
Not that I'm aware of...