Logging

Logging is done using lsf4j, a meta-logging framework which may act as a wrapper for log4j, java.util.logging and logback. As can be seen in the exemplary implementations of issuer, verifier and client, this requires an actual idenpa service to include a specific slf4j implementation as well as a corresponding configuration.

In the example servlets, java.util.logging is used along with a configuration in WEB-INF/classes/logging.properties, which can be found in the source at src/main/java/resources/logging.properties.

IdenPA is currently in the very early stages of development, so there is heavy use of DEBUG to report use of methods, as well as WARN for session-critical encounters and ERROR for system-critical errors. The level mapping for slf4j-java.util.logging is currently as follows:

See the java.util.logging documentation for details on how to tweak logging output ...