Chapter 7. Management CLI Logging
You can capture output and other management CLI information in a log file. By default, management CLI logging is disabled. You can enable it and configure other logging settings using the EAP_HOME/bin/jboss-cli-logging.properties file.
Configure Management CLI Logging
-
Edit the
EAP_HOME/bin/jboss-cli-logging.propertiesfile. Uncomment or add the following line to enable logging.
# uncomment to enable logging to the file logger.handlers=FILE
Change the log level from
OFFto the desired level, such asINFOorALL.logger.org.jboss.as.cli.level=INFO
Once you restart the management CLI, output will be logged to the EAP_HOME/bin/jboss-cli.log file.
For information on configuring other settings in a logging properties file, see the Configuring logging.properties section of the JBoss EAP Development Guide.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.