faqts : Computers : Internet : Mail Servers : qmail : Tips and Tricks

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

12 of 13 people (92%) answered Yes
Recently 9 of 10 people (90%) answered Yes

Entry

timestamp in supervise logs?

Dec 6th, 2004 03:12
Sam Snow, http://cr.yp.to/daemontools/tai64nlocal.html


tai64nlocal converts precise TAI64N timestamps (used in daemontools 
based logs) to a human-readable format. 
> Hi...
>
> Is there a way to put a timestamp (with date and hour)
> in the beggining of each line on the supervise logs?
> (ie. /var/log/qmail/qmail-smtpd/current)
Time and date are already there :)
If you want to see in local time just pipe through tai64nlocal. 
for example: tail -f /var/log/qmail/qmail-smtpd/current | tai64nlocal