You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
johnny.bufu edited this page Jun 4, 2015
·
1 revision
Logging Configuration
OpenID4Java uses Apache's commons-logging API. This allows the
application developers to choose (or change) their preferred logging
implementations, without the need to modify or recompile the library.
Log4J v1.2 is used as the logging implementation for the sample
projects included with the OpenID4Java library. Commons-logging
uses Log4J as the primary default and automatically detects if
Log4J is available when discovering available logging
implementations.
A typical way to configure Log4J is using a log4j.properties file
in the classpath which should contain the following (adjust log
levels as desired):