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