1. 程式人生 > >Log4j配置檔案被覆蓋,log4j.properties無效(檢查方法)

Log4j配置檔案被覆蓋,log4j.properties無效(檢查方法)

log4j: Trying to find [log4j.xml] using context classloader [email protected]
log4j: Using URL [jar:file:/F:/maven_dir/com/baidu/unionlogin/1.0/unionlogin-1.0-baidu.jar!/log4j.xml] for automatic log4j configuration.
log4j: Preferred configurator class: org.apache.log4j.xml.DOMConfigurator
log4j: System property is :null
log4j: Standard DocumentBuilderFactory search succeded.
log4j: DocumentBuilderFactory is: com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
log4j: debug attribute= "null".
log4j: Ignoring debug attribute.
log4j: reset attribute= "false".
log4j: Threshold ="null".
log4j: Level value for root is  [info].
log4j: root level set to INFO
log4j: Class name: [org.apache.log4j.ConsoleAppender]
log4j: Setting property [target] to [System.out].
log4j: Parsing layout of class: "org.apache.log4j.PatternLayout"
log4j: Setting property [conversionPattern] to [%n%-5p:%m %n==> %l%n].