My Oracle Support Banner

How to Set Log Level of java.util.logging on WebLogic (Doc ID 2690541.1)

Last updated on OCTOBER 11, 2023

Applies to:

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

Goal

This document introduces how to set log level of java.util.logging on WebLogic.

Java SE has been have a logging function java.util.logging from Java SE 1.4.

Oracle products, Some of WebLogic components, bundled 3rd party libraries and etc. may have java.util.logging function for logging in their code implementation.

Basically it is internal use and unsupported unless it is documented. But sometimes it may be useful for investigating issues.

 

Please see the javadoc of Logger bellow for java.util.logging.

https://docs.oracle.com/javase/8/docs/api/java/util/logging/Logger.html

 

Solution

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
Goal
Solution
 1. Default configuration of java.util.logging.
 2. Specify configuration file 
 3. How to set log level of each logger?
 3-1. Set it in the configuration file. (.level is needed)
 3-2. Set it using "Platform Logger Levels" of WebLogic (.level is not needed)
 3-3. Set it in Java code.
 4. Where is the list of loggers?

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