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

Last updated on MAY 16, 2016

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

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