Enabling Debug Logging

Debug logging for EJBCA can be dynamically configured using the JBoss CLI, allowing enabling and disabling the debug logging while running.

If you have not manually configured logging in standalone.xml, nor configured custom logging, enable debug logging for EJBCA using the following commands:

/system-property=org.jboss.as.logging.per-deployment:add(value=false)
/subsystem=logging/logger=org.ejbca:add
/subsystem=logging/logger=org.ejbca:write-attribute(name=level, value=DEBUG)
/subsystem=logging/logger=org.cesecore:add
/subsystem=logging/logger=org.cesecore:write-attribute(name=level, value=DEBUG)


You can then 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)