2.10.3 list-log-attributes
Lists all the logging attributes defined for a specific target in a domain.
Synopsis
asadmin [asadmin-options] list-log-attributes [--help] [target]
Storage location
Application Server installation directory/javaee/glassfish/bin
Function
The list-log-attributes subcommand of asadmin lists all the logging attributes currently defined for the specified Java EE Server domain or a target within a domain. The values listed correspond to the values in the logging.properties file for the domain. This subcommand is supported in remote mode only.
Precondition
Domain Administration Server (DAS) is running.
Files
The logging attributes are currently defined for a specified Java EE Server domain or target within a domain. These attributes are listed against the corresponding values in the logging.properties file for the domain.
Arguments
- --help | -?
-
Displays the help text for the subcommand.
- target
-
Type: String
The following values can be specified:
-
server
The default server instance. This is the default value.
-
configuration_name
The name of a specific configuration.
-
cluster_name
The name of a target cluster.
-
instance_name
The name of a target server instance.
Default value: server
-
Examples
The following example lists all the loggers attributes for the default domain.
asadmin list-log-attributes
Exit Status
Exit Status |
Explanation |
---|---|
0 |
subcommand executed successfully. |
1 |
error in executing the subcommand. |