阅读背景:

记录错误到stderr和debug,信息到stdout使用log4j

来源:互联网 

I want to add logging to an application I am developing, using apache log4j. At this point I want to redirect all log messages for level INFO and lower (TRACE, DEBUG) to stdout and all other log messages from WARN and above (ERROR, FATAL) to stderr. For example:I want to add logging to an application I am de




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: