You can split the access log and error log based on the log file size and output them to multiple log files by wrap around. The rotatelogs2 program can be specified in the following directives:
Specify the program in the following format.
rotatelogs2 Log-file-prefix-name Log-file-size Number-of-log-files |
Specify the rotatelogs2 utility by using the |program-name format in directives.
ErrorLog "|\"\"<Cosminexus-installation-directory>/httpsd/sbin/rotatelogs2.exe\" \"<Cosminexus-installation-directory>/httpsd/logs/errorlog\" 4096 5\"" |