Former-commit-id:06a8b51d6d
[formerly9f19e3f712
[formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]] Former-commit-id:9f19e3f712
Former-commit-id:a02aeb236c
40 lines
2.2 KiB
Properties
40 lines
2.2 KiB
Properties
log4j.rootLogger=error, stdout, DailyLogFile
|
|
#, DailyLogFile, RollingLogFile
|
|
|
|
# stdout is set to be ConsoleAppender sending its output to System.out
|
|
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
|
|
|
|
# stdout uses PatternLayout.
|
|
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
|
|
|
|
# The conversion pattern consists of date in ISO8601 format, level,
|
|
# thread name, logger name truncated to its rightmost two components
|
|
# and left justified to 17 characters, location information consisting
|
|
# of file name (padded to 13 characters) and line number, nested
|
|
# diagnostic context, the and the application supplied message
|
|
|
|
#log4j.appender.stdout.layout.ConversionPattern=%d %-5p [%t] %-17c{2} (%13F:%L) %3x - %m%n
|
|
log4j.appender.stdout.layout.ConversionPattern=%d %-5p [%t] %-17c (%13F:%L) %3x - %m%n
|
|
|
|
# Appender DailyLogFile writes to the file "foodService.log".
|
|
log4j.appender.DailyLogFile=org.apache.log4j.DailyRollingFileAppender
|
|
log4j.appender.DailyLogFile.file=$HOME/caveData/logs/perspectives-daily-file.log
|
|
#log4j.appender.DailyLogFile.file=/export/cdbsrv/mgao/Desktop/temp/log/perspectives-daily-file.log
|
|
log4j.appender.DailyLogFile.datePattern='.'yyyy-MM-dd
|
|
log4j.appender.DailyLogFile.append=true
|
|
log4j.appender.DailyLogFile.layout=org.apache.log4j.PatternLayout
|
|
#log4j.appender.DailyLogFile.layout.ConversionPattern=%d{yyyy-MMM-dd HH:mm:ss,SSS} %-5p [%t] %-17c{2} (%13F:%L) %3x - %m%n
|
|
#log4j.appender.DailyLogFile.layout.ConversionPattern=%d %-5p [%t] %-17c{2} (%13F:%L) %3x - %m%n
|
|
log4j.appender.DailyLogFile.layout.ConversionPattern=%d %-5p [%t] %-17c (%13F:%L) %3x - %m%n
|
|
#log4j.appender.DailyLogFile.layout.ConversionPattern= %d{HH}%m
|
|
|
|
|
|
# Appender RollingLogFile writes to the file "orderService_rollingFile.log".
|
|
#log4j.appender.RollingLogFile=org.apache.log4j.RollingFileAppender
|
|
#log4j.appender.RollingLogFile.File=/export/cdbsrv/mgao/Desktop/temp/log/ffaResource-rolling-file.log
|
|
log4j.appender.RollingLogFile.MaxFileSize=100KB
|
|
log4j.appender.RollingLogFile.MaxBackupIndex=1
|
|
log4j.appender.RollingLogFile.append=true
|
|
log4j.appender.RollingLogFile.layout=org.apache.log4j.PatternLayout
|
|
log4j.appender.RollingLogFile.layout.ConversionPattern=%d %-5p [%t] %c - %m%n
|
|
# log4j.appender.RollingLogFile.layout.ConversionPattern=%d{HH}%m
|