>       Pipe it through tai64nlocal

Like this:

Exec /usr/bin/setuidhid qmaill /usr/bin/multilog t n40 s25000000
/var/log/qmail/smtpd | /usr/bin/tai64nlocal

?


> b.      How can I use 2 log directories for loggin different things from
the
> smtp. Ex: 1 log dir is for standard things, and one log dir for standard
> things+error messages

        See http://cr.yp.to/daemontools/multilog.html

Can u feed me with some example ? You mean that somehow i can insert an if
statment to the above exec line ?

For ex I put recordio to smtp, than:

Multilog t n40 s2500000 !!"if"!! '-* * > *' '-* * < *' '+* * > 5*' '+* * >
4*' /var/log/qmail/smtpd/rejected !!"else"!! /var/log/qmail/smtpd/ |
tai64nlocal

? I dont really understand the syntax .... sorry
Maybe :

Multilog t n40 s25000000 '-* * > *' '-* * < *' '+* * > 5*' '+* * > 4*'
/var/log/qmail/smtpd/rejected '+* * > ok*' '+* * > end*' '+* * > status*'
'+* * > pid*' /var/log/qmail/smtpd | tai64nlocal

After evrthing, the | tai64nlocal will do if the mulilog is finishing a file
than will a deamontools cann tha tai64nlocal and puts the rotated log out as
human readable ?

Thanks:

CoyoteTM




Reply via email to