Taymour A. El Erian writes:
> I need something that can give me time-based rotation rather than 
> size/number rotation. This is to help me do log file analysis for 
> whatever period I want.

You could always put something like

0 0 * * * /usr/local/bin/svc -a /service/qmail/log

in a crontab. Then you wouldn't have to worry about a single file containing logs for
different days.

Finding out which files make up yesterday's log isn't a problem (Perl is your
friend :-)

Regards,

--
Adriano

Reply via email to