[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Customizing httpd access logs



On a different Linux distribution, the httpd access logs were separated by
domain. Each virtual domain has it's own access-log and I could set up
logrotate to handle each log differently.

The Cobalt Raq3i machines that I have all have a combined access log. I'd
like to adjust how logrotate handles log for individual domains, but I can't
since the log is combined.

My goal is to have the logs for a single domain rotate daily instead of by
size (1M as it is now). Then I'd like it to compress and mail the log to an
e-mail address I specify.

I've got everything figured out how to do this, but I can't split the log.

Is there a way to change the httpd.conf so that it doesn't combine the logs?