sl4j/logback under weblogic

前端 未结 5 1849
情话喂你
情话喂你 2020-12-31 08:23

I\'m trying to configure sl4j/logback under Weblogic12. I deploy ear file, which has war file, which has WEB-INF\\classes\\logback.xml
Here is the config:

5条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-31 09:00

    The problem is discussed here in detail: https://stagingthinking.wordpress.com/2012/06/02/annoying-slf4j-problem-in-weblogic-server-12c/

    The exact package you need to put to the prefer-application-packages mechanism is org.slf4j, like this:

    
    
      
        org.slf4j
      
    
    

提交回复
热议问题