JBoss 7 and EAP 6 Debug logging

Debug logging for EJBCA can be configured dynamically using the jboss-cli. One of the benefits of using the jboss-cli to configure logging is that debug logging can be enable and disabled dynamically while running. If you have not configured logging in standalone.xml manually, and not configured custom logging, you can easily enable debug logging for EJBCA with the following commands:

/subsystem=logging/logger=org.ejbca:write-attribute(name=level, value=DEBUG)
/subsystem=logging/logger=org.cesecore:write-attribute(name=level, value=DEBUG)

Once this is done you can easily switch between INFO and DEBUG logging by setting the appropriate level:

/subsystem=logging/logger=org.ejbca:write-attribute(name=level, value=INFO)
/subsystem=logging/logger=org.cesecore:write-attribute(name=level, value=INFO)