logback with EJB3.1

前端 未结 4 406
陌清茗
陌清茗 2020-12-17 01:56

I am using logback/slf4j to handle logging in my application. Everything was working perfectly until I started using EJBs. Once I added a stateless EJB to my app, the logger

4条回答
  •  被撕碎了的回忆
    2020-12-17 02:40

    Basically the problem is that the application server usesprovides slf4j AND that your attempts to use it goes to the application server slf4j binding instead of the one you want yourself.

    Can't you just use the slf4j binding in Glassfish?

提交回复
热议问题