OHS does not purge old logs after restarting
Last updated on JUNE 12, 2017
Applies to:Oracle HTTP Server - Version 22.214.171.124.0 to 126.96.36.199.0 [Release Oracle11g]
Information in this document applies to any platform.
In Fusion Middleware 11g, Oracle HTTP Server uses odl_rotatelogs to rotate logs. This odl_rotatelogs also supports the feature of log retention. Example 1 and 3 shows the configuration to rotate logs when the size of log reaches to 10M bytes, and max log size is set to 70M bytes as log retention. Example 2 and 4 shows the configuration to rotate logs per half a day, and keeps logs 7 days at maximum.
However, some of logs will never be purged after restarting server.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms