log4j.properties not picked up from jar

后端 未结 4 2145
悲&欢浪女
悲&欢浪女 2020-12-11 17:15

I have a jar in the classpath of my server which contains the log4j.properties file on root of the jar for logging of the code. When the code in the jar runs the logging for

4条回答
  •  Happy的楠姐
    2020-12-11 17:57

    I'm note quite sure but it could be an order problem. Whichever log4j.properties is loaded first/last would win (I'd have to check that).

提交回复
热议问题