摘要:
1.配置文件以例1讲解:# Configure logging for testing: optionally with log filelog4j.rootLogger=INFO, stdout,logfile# log4j.rootLogger=WARN, stdout, logfilelog4j.appender.stdout=org.apache.log4j.ConsoleAppenderlog4j.appender.stdout.layout=org.apache.log4j.PatternLayoutlog4j.appender.stdout.layout.ConversionPa 阅读全文