> Hi there,
>
> How can I add additional date info to multilog file ?
>
> For example,
>
> I use
>
> #!/bin/sh
> exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t s5000000
n20 /var/log/qmail/qmail-smtpd
>
> for logging of qmail-smtpd.
>
> I would like to turn @40000000397ffff536de9f8c status: local 0/10 remote
0/100
> to become
>
> @40000000397ffff536de9f8c [Date Time in human readable format] status:
local 0/10 remote 0/100
>

Use tai64n and tai64nlocal.
tai64n is for the timestamps, and tai64nlocal is for converting
timestamps to human-readable format.


Reply via email to