文件名称:Tocat 下的日志配置参考代码
文件大小:16KB
文件格式:PDF
更新时间:2024-02-10 09:48:06
apache c cat
代码如下:#log out methor, Console is system out to Console #log4j.rootLogger=WARN, Console #log4j.rootLogger=WARN log4j.rootLogger=INFO,A1,R log4j.appender.Console=org.apache.log4j.ConsoleAppender log4j.appender.Console.layout=org.apache.log4j.PatternLayout log4j.appender.Console.layout.ConversionPatter