OHS Logs Including the Old Rotated Logs Keeps on Getting Deleted Every 5-6 Minutes

(Doc ID 2382337.1)

Last updated on APRIL 11, 2018

Applies to:

Oracle HTTP Server - Version 12.1.3.0.0 and later
Information in this document applies to any platform.

Symptoms

Every 5-6 minutes, it is noticed that the OHS logs i.e ohs1.log inside ( $DOMAIN_HOME\servers\ohs1\logs folder) and its rotated old logs are getting deleted and new ones are getting generated. At a time only 7 logs are available for the OHS which keeps on getting overwritten/deleted.

Changes

 Log Rotation based on the size is enabled for the OHS .

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