log4j.properties

# Global logging configuration
#log4j.rootLogger=INFO, stdout
log4j.rootLogger=WARN, stdout
#log4j.rootLogger=ERROR, stdout
# Console output...
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%5p [%t] - %m%n

你可能感兴趣的:(开发语言,开发工具,resources,log4j)