awips2/ncep/gov.noaa.nws.ncep.common.log4j.config/log4j.properties
root 2b462d8665 Initial revision of AWIPS2 11.9.0-7p5
Former-commit-id: 06a8b51d6d [formerly a02aeb236c [formerly 9f19e3f712] [formerly 06a8b51d6d [formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]]]
Former-commit-id: a02aeb236c [formerly 9f19e3f712]
Former-commit-id: a02aeb236c
Former-commit-id: 133dc97f67
2012-01-06 08:55:05 -06:00

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