bra-jdbc.2.0.0-alpha.source-code.log4j.properties Maven / Gradle / Ivy
#\u53ef\u4ee5\u8bbe\u7f6e\u7ea7\u522b\uff1adebug < info < warn < error
#debug: \u663e\u793adebug, info, warn, error
#info: \u663e\u793ainfo, warn, error
#warn: \u663e\u793awarn, error
#error: \u53ea\u663e\u793aerror
#\u65e5\u5fd7\u7684\u8f93\u51fa\u7ea7\u522b\u7531rootLogger\u548c\u666e\u901aLogger\u8bbe\u7f6e\u7684\u6700\u9ad8\u7ea7\u522b\u51b3\u5b9a\u3002
#log4j.rootLogger=debug,appender1
log4j.rootLogger=info,appender1
#log4j.rootLogger=warn,appender1
#log4j.rootLogger=error,appender1
#\u8f93\u51fa\u5230\u63a7\u5236\u53f0
log4j.appender.appender1=org.apache.log4j.ConsoleAppender
#\u6837\u5f0f\u4e3aTTCCLayout
log4j.appender.appender1.layout=org.apache.log4j.TTCCLayout
#\u8fd9\u91cc\u914d\u7f6e\u7684\u662f\u7c7b\u6240\u5728\u7684\u5305test.log4j, \u9017\u53f7\u4e4b\u524d\u672a\u914d\u7f6e\u65e5\u5fd7\u8f93\u51fa\u7ea7\u522b\uff0c\u9ed8\u8ba4\u4e3a\u6839logger\u7684\u7ea7\u522b
log4j.logger.test.log4j=, TEST
log4j.appender.TEST=org.apache.log4j.ConsoleAppender
log4j.appender.TEST.layout=org.apache.log4j.TTCCLayout
log4j.logger.com.mchange.v2=OFF