Summary: | Sample log4j configuration does not match default JULI-based configuration | ||
---|---|---|---|
Product: | Tomcat 7 | Reporter: | Christopher Schultz <chris> |
Component: | Documentation | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | poovensathish7 |
Priority: | P2 | ||
Version: | trunk | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | All | ||
Attachments: | Sample log4j configuration that matches default java.util.logging configuration |
Description
Christopher Schultz
2010-11-09 16:38:19 UTC
Patches welcome Created attachment 26274 [details]
Sample log4j configuration that matches default java.util.logging configuration
Patches provided
Patch applied. Many thanks. It will be in 7.0.5 onwards. I made one minor tweak, I left the default log level as INFO so it was consistent with the instructions further down for using DEBUG level logging. Here's my attempt to integrate Tomcat with SLF4J + Logback from the very beginning (Catalina.main()): https://github.com/grgrzybek/tomcat-slf4j-logback It works for me and contains logback configuration matching the original J.U.L and Log4j herein. regards Grzegorz Grzybek Please don't hijack similar but unrelated bugs. Anything added to an already resolved bug is almost certain to get ignored / lost. Please create a new Enhancement request for the logback support. It appears that this is a standalone project. Providing a patch in diff -u format against Tomcat trunk (model it on the log4j support in extras) would increase the chances of this being included in the standard Tomcat distribution. |