Hi All,

I'd like to know how I could go about compressing the web log files to
different file names.  It seems that the logrotate scripts compress the all
the logs, but they overwrite the previously compressed log file.  I'd like
to keep all of the logs and get rid of them later.  I know it's got
something to do with logrotate, but I can't find any info on how to "save"
the compressed log file in sequentially numbered filenames...

web.log.1.gz
web.log.2.gz
web.log.3.gz

and so on.


For that matter, if I could include the date into the filename, that would
be even better.

web.log.010527.gz
web.log.010528.gz
web.log.010529.gz


Any help is appreciated.

TIA
Best regards,
Ervin Tarkhanian
AVETAR Interactive
818.705.3415 Tel.
818.345.8368 Fax.
[EMAIL PROTECTED]
www.avetar.com


_______________________________________________
cobalt-developers mailing list
[EMAIL PROTECTED]
http://list.cobalt.com/mailman/listinfo/cobalt-developers

Reply via email to