Prevent Weblogic 12c from using system's slf4j binding

后端 未结 4 1721
再見小時候
再見小時候 2020-12-07 23:48

We\'re building new systen using slf4j as logging facade. When deploying on newly Weblogic 12c, we found this error on console log:

SLF4J: Class path contain         


        
4条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-08 00:11

    For WAR file you should use prefer-application-packages in weblogic.xml like described in this and this posts.

    In your case it will be something like

    
    
        
            
                org.slf4j
            
        
    
    

提交回复
热议问题