VistA-ccr/nhin-vista/projects/NHINC/Current/ThirdParty/log4j/log4j.properties

22 lines
900 B
Properties

log4j.debug=true
log4j.threshold=ALL
#Log Levels = (Most) DEBUG,INFO,WARN,ERROR,FATAL (Least)
log4j.rootLogger=ALL, C, R
log4j.logger.com.mchange.v2=WARN, C, R
log4j.appender.com.mchange.v2=WARN, C, R
log4j.appender.C=org.apache.log4j.ConsoleAppender
log4j.appender.C.Threshold=ALL
log4j.appender.C.layout=org.apache.log4j.PatternLayout
log4j.appender.C.layout.ConversionPattern=[%d{dd/HH:mm:ss:SSS}] %-5p %-20.20c{1} %m%n
log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.Threshold=ALL
log4j.appender.R.File=C:/glassfishesb/glassfish/NHIE-Gateway.log
log4j.appender.R.MaxFileSize=5000KB
log4j.appender.R.MaxBackupIndex=10
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=[%d{M/d/yyyy}, %d{HH:mm:ss:SSS}] %-5p %-20.20c{1} %m%n
#log4j.appender.R.layout.ConversionPattern=%d{M/d/yyyy}, %d{HH:mm:ss:SSS}, %p :%t :%c{1} :"%m"%n