ohs1.log is Not Rotated On "OraLogRotationParams" time. (Doc ID 1946698.1)

Last updated on JUNE 10, 2016

Applies to:

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

Symptoms

 

In FMW 11g, ohs1.log is rotated on the time which is set at OraLogRotationParams .

STEPS
------------

 -------------------------------- 
http://docs.oracle.com/cd/E23943_01/web.1111/e10144/man_logs.htm 
Oracle Fusion Middleware Administrator's Guide for Oracle HTTP Server 
11g Release 1 (11.1.1) 
Part Number E10144-06 

When rotation_type is set to T (time-based), set the rotation_policy 
parameter to: 

frequency(in sec) retentionTime(in sec) startTime(in YYYY-MM-DDThh:mm:ss) 

For example, when configured as 43200:604800 2009-05-08T10:53:29, the error 
log is rotated every 43200 seconds (that is, 12 hours), rotated log files are 
retained for maximum of 604800 seconds (7 days) starting from May 5, 2009 at 
10:53:29. 
-------------------------------- 

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