My Oracle Support Banner

Log4j Rollingfileappender Behaviour With Weblogic on Windows (Doc ID 1374885.1)

Last updated on AUGUST 12, 2021

Applies to:

Oracle WebLogic Server - Version 10.3.2 and later
Generic Windows


After deploying on WebLogic an application where Log4j RollingFileAppender class is used
the logging works as expected : files rotate when their limit is reached and backups are kept.

Here a sample of log4j configuration:


But once the Admin Console is accessed the behaviour of the RollingFileAppender changes : the log file rotation doesn't work anymore only one occurence of the file is kept.

This happens only on Microsoft Windows machines.


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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.