开发者

log4j practical question

开发者 https://www.devze.com 2023-02-16 00:17 出处:网络
log4jRefreshInterval 1000 I have used while configuring log4j to my web.xml.I am using spring. I saw that this is only used to detemine the property changes when app running.

log4jRefreshInterval 1000

I have used while configuring log4j to my web.xml.I am using spring. I saw that this is only used to detemine the property changes when app running.

I thought this is optional,

but without th开发者_如何学Gois my logging is not work


Promoted to answer OP's comment:

No error, It didn't logging, After adding log4jRefreshInterval 1000 org.springframework.web.util.Log4jConfigListener I start to work

0

精彩评论

暂无评论...
验证码 换一张
取 消