Previous Topic: Logging ConfigurationNext Topic: Connector Specific Logging


How Logging is Managed

Both the JCS 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 JCS, cause the issue to occur, shutdown the JCS, then zip up the entire the jcs-home/logs/ directory.