How Can We Redirect SLF4J Logging to the WebLogic Server Logging System? (Doc ID 1507456.1)

Last updated on JUNE 15, 2017

Applies to:

Oracle WebLogic Server - Version 11.1.1.7.0 to 11.1.1.7.0 [Release 11g]
Information in this document applies to any platform.

Goal

The SLF4J distribution ships with a binding for JDK logging called slf4j-jdk14-1.6.0.jar. This results in the SLf4J logs being directed into the JDK logging framework.
WebLogic Server ships with a JDK logging handler which will pick up log messages emitted from JDK logging framework and direct them into the WebLogic Server logging system.

This article will show you the steps needed to redirect SLF4J logging to the WebLogic Server logging system.

Solution

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