SLF4J + Logback does not log in WildFly

后端 未结 2 1327
别那么骄傲
别那么骄傲 2020-12-01 12:35

I run web application in WildFly 8 and for some reason it does not log. I use SLF4J with LOGBACK. The log file is created on deploy but it is empty. I do not see my log stat

2条回答
  •  悲哀的现实
    2020-12-01 13:16

    WildFly adds slf4j as a default logging dependency Have you tried excluding the main implementation in jboss-deployment-structure.xml descriptor (It should go under the META-INF directory). This can be done with below lines:

    
    
      
        
          
          
          
          
          
          
          
          
        
      
    
    

提交回复
热议问题