log4j常见warning

log4j:WARN No appenders could be found for logger (org.apache.jasper.compiler.JspRuntimeContext).
log4j:WARN Please initialize the log4j system properly.

解决方法:

    第一行的log4j.logger.x=....改为:log4j.rootLogger=...
   
    我的是:log4j.rootLogger=WARN,A1,A2

你可能感兴趣的:(apache,log4j)