Hi!
I configured the root logger as below:
<root-logger>
<level name="INFO"/>
<handlers>
<handler name="CONSOLE"/>
<handler name="FILE"/>
<handler name="STARTUP_FILE"/>
</handlers>
</root-logger>
And I has a service to remove the handler "STARTUP_FILE" out of root logger when my app started successfully.
I can get the root logger but the handlers attribute is empty. Anyone can help?
How do you try to remove it? It might that you don't see the JBoss root-logger.
You might use the management API to remove it, but in this case it will be persistent.
Also I think it will not have a benefit as all the logging go into the FILE as well