My Oracle Support Banner

Logback Doesn't Print Any Log Using Logback.xml (Doc ID 2134695.1)

Last updated on JUNE 20, 2024

Applies to:

Oracle WebLogic Server - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Symptoms

Weblogic 12.2.1 does not create or print to logs that is specified in logback.xml

Below is the content of logback.xml in application war file


This issue can be reproduced at will with the following steps:

1. Create a logback.xml with the file and class references
2. Check the log file for any entries and found it to be non existing

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!


In this Document
Symptoms
Cause
Solution


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