Number of Apache Log Backups - wrong definition

ClayRabbit

Verified User
Joined
Jan 3, 2004
Messages
260
Location
Russia
OK.
After ver.1.24 the meaning of this option is changed - now with daily log rotation, if we want to store log files for a few monthes we should set this value to 30, 60, 90, etc.
But this is correct _only_ for domains which has NO subdomains!

If we have subdomains on that domain - all goes wrong.
If "Number of Apache Log Backups" is 30 then for domain with 29 subsomains we will have archives of previous day logs _only_.

That's not acceptable.

A see 2 ways to solve that:
1) Pack logs of domain and all his subdomains in one archive (best solution, IMHO, cos it will reduce number of files).
2) Count log archives separately for every domain/subdomain.

And one more thing. I think archives with zero-length log-files shouln't be created, right?
 
Back
Top