I'm trying to figure out how to include the current date and the IP number of the current host inside the Apache log file names, but I fail how to see how I can do that. Part of that has to do with the fact that I don't understand the log rotation mechanism that seems to be enabled by default. Haven't been able to find any documentation on why I have access.1.log access.xxx.gz.log files.
(I mean, I do understand that it is log rotation, but I don't see how I can influence it. I also undestand I could pipe log output through some sort of command to include the current IP number in the filename, but I would assume I would loose my log rotation that way. Basically I want the current mechanism, but then include the IP number in the name, and a date rather than a number.)