Here's the command we use:
 
/usr/qmail/bin/qmail-smtpd 2>&1 | multilog t s200000000 n50 \
    !'tai64nlocal | gzip' /usr/qmail/log/SMTP/ &
 
Unfortunately, multilog doesn't honor "s" parameter arguments that big. Anyway, when rotating the log, multilog pipes it through tai64nlocal to store readable timestamps and also compresses the archive with gzip. The only downside is that the "current" logfile still has tai timestamps.
 
Dave
-----Original Message-----
From: Marco [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 20, 2000 5:18 AM
To: qmail-mailing list
Subject: tai64nlocal

Hi,
I'm wondering what is the correct use of this command (TAI64NLOCAL) inside the supervise scripts.
I have three run scripts in /var/qmail/supervise... and they look like:
 
exec setuidgid qmaill multilog t s2000000 /var/log/qmail/qmail-pop3d
 
The other two are similar.
I don't want the TAI timestamps @.... in the log files anymore (they are frightening!!)
Other suggestions about more options in the scripts are also welcome.
Thank you in advance.
 
Marco Santini
[EMAIL PROTECTED]
 

Reply via email to