OHS Log Rotation Using Odl_Rotatelogs Not Happening At Expected Hour/Time (Doc ID 1666194.1)

Last updated on JUNE 21, 2017

Applies to:

Oracle HTTP Server - Version 11.1.1.1.0 to 11.1.1.9.0 [Release Oracle11g]
Information in this document applies to any platform.

Symptoms

OHS access_log rotation is not working as expected. In httpd.conf following is defined for rotating the access_logs -

As per documentation when rotation frequency is set to 86400(which translates to 24hrs) the logs will be rotated every midnight. But here the logs are getting rotated every night 8PM i.e 4 hours before midnight

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms