On Tue, Feb 23, 1999 at 08:55:43AM -0000, John Conover wrote:
>
> There was a message earlier today concerning the machine resources
> required for log files when using tcpserver//var/qmail/bin/splogger.
>
> Shouldn't it be possible for tcpserver to use individual logs per
> service, through another logging mechanism. Something like:
>
> tcpserver -R -v -x tcp.cdb -u 123 -g 456 0 \
> myservice /wherever/myprogram 2>&1 | mylogger > mylogfile &
>
> where mylogger is like cat(1), but with a better permissions/ownership
> structure? (Or, maybe, ... 2>&1 > mylogfile & would work, too. Anyone
> tried it?)
DJB's daemontools package has just such an animal, called cyclog. I use it for
all of my qmail logging.
ftp://koobera.math.uic.edu/www/software/daemontools-0.53.tar.gz
Chris