set-log-level [--help] logger-name=logger-level[:logger-name=logger-level]*
The set-log-level subcommand sets the log level for one or more loggers. Changes take effect dynamically, that is, server restart is not required.
This subcommand is supported in remote mode only.
The name of the logger. The list-logger-levels subcommand can be used to list the names of the current loggers.
The level to set for the logger. Log level values are SEVERE, WARNING, INFO, CONFIG, FINE, FINER, and FINEST. The default setting is INFO.
This example sets the log level of the web container logger to WARNING.
asadmin> set-log-level javax.enterprise.system.container.web=WARNING Command set-log-level executed successfully.
This example sets the log level of the web container logger to FINE and the log level of the EJB container logger to SEVERE:
asadmin set-log-level javax.enterprise.system.container.web=FINE: javax.enterprise.system.container.ejb=SEVERE Command set-log-level executed successfully.