Previous Topic: Logging Configuration

Next Topic: Connector Specific Logging

How Logging is Managed

Both the Java CS and ApacheDS code bases use the NLOG4J library to manage logging, which is configured through the following file:

jcs-home\conf\log4j.properties

You should rarely (if ever) need to change the log levels of any ApacheDS classes. These classes perform fundamental functions such as parsing and formatting LDAP messages.

Note: This file contains a number of potentially interesting settings commented out, with a description of the circumstances under which they can be useful.

You can also use a file named log4j_verbose.properties in the same directory. When you raise an issue, copy log4j_verbose.properties to log4j.properties, restart the Java CS, cause the issue to occur, shutdown the Java CS, then zip up the entire the jcs-home/logs/ directory.