My Oracle Support Banner

Rotatelogs for Oracle Apache error_log File does not work in Apache 2.0 (Doc ID 787765.1)

Last updated on OCTOBER 08, 2018

Applies to:

Oracle HTTP Server - Version: to
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, upgrade to /

+ Modify the httpd.conf file with the following settings

ErrorLog "| /home/OHS101320/ohs/bin/rotatelogs -l
/var/log/OHS/Logs_OHS/OHSerror110.%Y%m%d_%H_%M.log 1000M"

CustomLog "| /home/OHS101320/ohs/bin/rotatelogs -l
/var/log/OHS/Logs_OHS/OHScustom110.%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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.