I would like to change the Formatter for the handler 1catalina.org.apache.juli.FileHandler on my Tomcat 6.0.36.
I've done these steps:
But it actually not working, I mean it always use the SimpleFormatter.
I use a fresh downloaded apache-tomcat bundle.
Any Idea?
Thanks!
Actually, the library, where the formatter is, should be included in the Tomcat Classpath. That not only mean "Copy the jar in CATALINA_BASE/lib", it means also: add it to the CLASSPATH variable.
Example:
$ cat bin/setenv.sh
[...]
CLASSPATH="$CATALINA_BASE"/lib/myformatter.jar
export CLASSPATH
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With