Skip to content

Instantly share code, notes, and snippets.

@lfryc
Last active May 11, 2020 18:51
Show Gist options
  • Save lfryc/aae879ceb5534292e150 to your computer and use it in GitHub Desktop.
Save lfryc/aae879ceb5534292e150 to your computer and use it in GitHub Desktop.
Switch WildFly to debug mode in Runtime using jboss-cli
# switch the log level to DEBUG on console
{wildfly}/bin/jboss-cli.sh --connect
[standalone@localhost:9990 /] /subsystem=logging/console-handler=CONSOLE:write-attribute(name=level,value=DEBUG)
[standalone@localhost:9990 /] /subsystem=logging/root-logger=ROOT:write-attribute(name=level,value=DEBUG)
# switch it back to whatever it was initial configuration (here it is INFO)
[standalone@localhost:9990 /] /subsystem=logging/console-handler=CONSOLE:write-attribute(name=level,value=INFO)
[standalone@localhost:9990 /] /subsystem=logging/root-logger=ROOT:write-attribute(name=level,value=INFO)
@lfryc
Copy link
Author

lfryc commented Mar 23, 2015

@faller222
Copy link

Esto es para cambiar el logging a debug.
Muy distinto a tener el servidor en modo debug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment