Guest_imported
New member
- Jan 1, 1970
- 0
I am running Apache_1.3.12(only version compatible with another platform we use) and have three VirtualHosts. Each Virtual Host needs a different access_log file so I have set up a CustomLog directive within each VirtualHost container.
I also want the logs to rotate every 24 hours so I set up the directive thus:
CustomLog "|rotatelogs /usr/local/apache/logs/access_log combined 86400"
This wouldn't run though - the error was that rotatelogs had too many arguments. Does anyone know of a way that this can work? I have to use the Combined log file format.
Thanks very much
Jasmine
I also want the logs to rotate every 24 hours so I set up the directive thus:
CustomLog "|rotatelogs /usr/local/apache/logs/access_log combined 86400"
This wouldn't run though - the error was that rotatelogs had too many arguments. Does anyone know of a way that this can work? I have to use the Combined log file format.
Thanks very much
Jasmine