You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Dan Beaulieu <db...@byallaccounts.com> on 2007/10/24 17:37:49 UTC
Custom Log Formatter
Hello, it is my understanding that if I specify the fully qualified name of
a class that implements java.util.logging.Formatter like so in
conf/logging.properties:
2localhost.org.apache.juli.FileHandler.formatter = CustomFormat
Then juli should use that class to format log messages that go into my
localhost log.
I've built CustomFormat into a jar, and placed it in Tomcat 6.0/lib.
When I do this, nothing is logged into my localhost log, but the file is
created.
What am I doing wrong?
This is Tomcat 6.0 on Windows XP, java 1.6.