Rotatelogs for Oracle Apache error_log File does not work in Apache 2.0
(Doc ID 787765.1)
Last updated on MAY 13, 2022
Applies to:Oracle HTTP Server - Version 10.1.3.3.0 to 10.1.3.4.0 [Release AS10gR3]
Information in this document applies to any platform.
This problem can occur on any platform.
-- Problem Statement:
Oracle Http Server error logs are not rotating based on the size.
-- Steps To Reproduce:
+ Install OHS 2.0 from OAS 10.1.3.3, upgrade to 10.1.3.3 / 10.1.3.4
+ Modify the httpd.conf file with the following settings
ErrorLog "| <DIR>/ohs/bin/rotatelogs -l <DIR2>/<Filename>.%Y%m%d_%H_%M.log 1000M"
CustomLog "| <DIR>/ohs/bin/rotatelogs -l <DIR2>/<Filename>.%Y%m%d_%H_%M.log 1000M"
+ restart the http server and check the log files
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document