By default, the console-handler parameter is set to INFO , and the FILE handler does not have a set of levels. The root-logger parameter is also set to INFO .
The instructions on the How to Link page are for you to add a new registrar through the CLI and assign a level to it. If you must add a new logger at the DEBUG level, then server.log will receive these log messages written on it.
If you want to change the root-logger to see DEBUG messages for all unregistered logisticians, you can run the following command.
/subsystem=logging/root-logger=ROOT:write-attribute(name=level,value=DEBUG)
If you want to also see messages on the console, you need to change the level on the handler.
/subsystem=logging/console-handler=CONSOLE:write-attribute(name=level,value=DEBUG)
I would not advocate the use of XML. Using a management interface such as the CLI or the web console is an appropriate way to change server settings.
source share