Log4j Configuration for Console

#set up stdout appender
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=[%-5p][%d{yyyy-MM-dd HH\:mm\:ss}][%l]\:%m%n

你可能感兴趣的:(apache,log4j,UP)