Last active
May 11, 2020 18:51
-
-
Save lfryc/aae879ceb5534292e150 to your computer and use it in GitHub Desktop.
Switch WildFly to debug mode in Runtime using jboss-cli
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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) |
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
Source of inspiration: https://docs.jboss.org/author/display/WFLY8/How+To