Skip to main content
Skip table of contents

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:

BASH
/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)
/subsystem=logging/logger=com.keyfactor:add
/subsystem=logging/logger=com.keyfactor:write-attribute(name=level, value=DEBUG)


You can then switch between INFO and DEBUG logging by setting the appropriate level:

CODE
/subsystem=logging/logger=org.ejbca:write-attribute(name=level, value=INFO)
/subsystem=logging/logger=org.cesecore:write-attribute(name=level, value=INFO)
/subsystem=logging/logger=com.keyfactor:write-attribute(name=level, value=INFO)
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.