Archives for: May 2006, 25

May 25, 2006 : Tomcat JULI logging properties

Tomcat 5.5 provides the "JULI" implementation of the Java Logging API and extends it with things like per-classloader configuration. http://tomcat.apache.org/tomcat-5.5-doc/logging.html is decent documentation, but nowhere do they list all the properties for configuration.

I had to look into the source of org/apache/juli/FileHandler.java which was pretty hard to find too.

Anyway, here are all the properties:

  • org.apache.juli.FileHandler.directory
  • org.apache.juli.FileHandler.prefix
  • org.apache.juli.FileHandler.suffix
  • org.apache.juli.FileHandler.level
  • org.apache.juli.FileHandler.filter
  • org.apache.juli.FileHandler.formatter

There is no pattern to control the formatting of the filename, so you're stuck with one that always has the date, I guess.

<  May 2006  >
Mon Tue Wed Thu Fri Sat Sun
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        

Categories


Archives

Misc

Syndicate this blog XML

powered by
b2evolution