How to set log4j.properties in Eclipse?

前端 未结 3 1318
鱼传尺愫
鱼传尺愫 2021-02-09 16:27

I\'m trying to run this example, but I have some problems with configuration.

I copied log4j-jms.properties, jndi.properties, Log4jJMSApp

3条回答
  •  死守一世寂寞
    2021-02-09 16:35

    Your log4j.properties should reside inside the src folder. That way, Log4J will configure itself automatically, without you needing to write code.

提交回复
热议问题