My Oracle Support Banner

Log File Rollover/Rotation Configuration For log4j2 (Doc ID 2558184.1)

Last updated on MARCH 04, 2024

Applies to:

Oracle Utilities Mobile Workforce Management - Version 2.3.0.2.0 and later
Oracle Utilities Framework - Version 4.3.0.0.1 and later
Information in this document applies to any platform.

Symptoms

On : 2.3.0.2.0 version, System Wide

ACTUAL BEHAVIOR
---------------
The default log4j2.properties file supplied with the software will never work in a production environment because log files quickly grow too large to be usable. We have tried multiple log4j2.properties configurations based on standard log4j2 documentation, but have been unable to get the desired configuration. We would like an example of how to modify the log4j.properties file to rollover all log files (stdout, stderr, console, etc) when they reach 50MB in size or once per day, whatever comes first.

Changes

 

Cause

To view full details, 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 a vibrant support community of peers and Oracle experts.