Tomcat Logging With Slf4j and Log4j

后端 未结 3 1983
南笙
南笙 2020-12-10 15:21

I\'ve got a web-app deployed to a Tomcat 7 server. My application uses log4j and a file appender. However, not all logging messages

3条回答
  •  春和景丽
    2020-12-10 15:40

    Configure your tomcat server according to the steps described at http://adfinmunich.blogspot.de/2012/03/how-to-configure-tomcat-to-use-slf4j.html. This blog entry describes how to replace java.util.logging by slf4j (using log4j behind the facade).

提交回复
热议问题