My Oracle Support Banner

How to get information on Logmanager settings and installed handlers at runtime in GlassFish Application Server (Doc ID 1309682.1)

Last updated on OCTOBER 26, 2020

Applies to:

Oracle GlassFish Server - Version 2.1.1 and later
Information in this document applies to any platform.

Goal

Third party frameworks or applications deployed on GlassFish Application Server may try to set Log levels and install handlers in the LogManager.

This is possible if the security manager in Glassfish has been disabled


It may become necessary to get information on LogManager settings and installed handlers at runtime to debug logging issues. So, getting information on Log Levels and installed handlers for the RootLogger will help explain the behavior of the LogManager. For example, if a third party framework or application replaces the AsyncHandler of the RootLogger by its own handler, then the Logging subsystem may not work as expected.

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
References


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