list-loggers

list-loggers

Lists existing loggers

Synopsis

asadmin [asadmin-options] list-loggers [--help]

Description

The list-loggers subcommand lists the existing Eclipse GlassFish loggers. Internal loggers are not listed. The list-loggers subcommand lists the logger name, subsystem, and description.

This subcommand is supported in remote mode only.

Options

asadmin-options

Options for the asadmin utility. For information about these options, see the asadmin(1M) help page.

--help
-?

Displays the help text for the subcommand.

Examples

Example 1   Listing the Loggers

This example lists the logger name, subsystem, and description for each logger. Some lines of output are omitted from this example for readability.

asadmin> list-loggers
Logger Name                                                   Subsystem              Logger Description
jakarta.enterprise.admin.rest                                 REST                   Main REST Logger
jakarta.enterprise.admin.rest.client                          REST                   REST Client Logger
jakarta.enterprise.admin.rest.connector                       RSTCN                  REST Connector Logger
jakarta.enterprise.bootstrap                                  BOOTSTRAP              Main bootstrap logger.
jakarta.enterprise.cluster.gms                                CLSTR                  Group Management Service Adapter Logger
...
jakarta.mail                                                  MAIL                   Jakarta Mail Logger
org.glassfish.naming                                          glassfish-naming       logger for GlassFish appserver naming

Command list-loggers executed successfully.

Exit Status

0

subcommand executed successfully

1

error in executing the subcommand