Log Rotation Does Not Happen When Rotated Log Directory And Current Log Are On Two Different File Systems / Mountpoints
(Doc ID 1562494.1)
Last updated on JULY 31, 2018
Applies to:Oracle WebLogic Server - Version 10.0 and later
Oracle Solaris on SPARC (32-bit)
Oracle Solaris on SPARC (64-bit)
Oracle Solaris on x86 (32-bit)
Oracle Solaris on x86-64 (64-bit)
One has a WebLogic Server (WLS) log rotation configuration in place such that current log is written to one directory and rotation is done to other directory. However it has been observed that rotation directory does not have the rotated files.
Consider following WLS server log configuration for WLS instance "AdminServer" (a snippet from DOMAIN_HOME/config/config.xml):
In this configuration, one might see that once AdminServer.log reaches 5KB, WLS seems to create a new log in"/u01/current/logs/AdminServer" however the rotated log file which is supposed to be saved into /u02/archive/logs/AdminServer is not there.
You might look into standard out file with an intention to see what happened, however there might be no trace of any error there.
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