Java Logging

Debugging Log4j

Either set the log4j.debug variable on the command line, or set the debug attribute to true on the log4j.xml configuration file.

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration debug="true" xmlns:log4j="http://jakarta.apache.org/log4j/">
</log4j:configuration>

References


-- Frank Dean - 17-Apr-2010

Related Topics: DevelopmentSetup