Wednesday 1 June 2011

Java Logging / java.util.logging / logging.properties

See here.

NB: the default eclipse logger has to be configured using java.util.logging.config.file and java.util.logging.manager in the Server's run configuration. Otherwise, it uses the JDK's logging.properties file in $JAVA_HOME/jre/lib:

-Djava.util.logging.config.file="C:\Programme\Apache\Tomcat\Tomcat-6.0.16\conf\logging.properties"
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager