forked from krishagni/openspecimen
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SVN-Revision: 23880
- Loading branch information
sachin_lale
committed
Jan 12, 2010
1 parent
44bbe8c
commit 4bf7599
Showing
3 changed files
with
48 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Set root category priority to INFO and its only appender to CONSOLE. | ||
#log4j.rootCategory=INFO, CONSOLE | ||
log4j.rootCategory=INFO, CONSOLE, LOGFILE | ||
#log4j.rootCategory=INFO, CONSOLE, LOGFILE | ||
|
||
# Set the enterprise logger category to FATAL and its only appender to CONSOLE. | ||
#log4j.logger.org.apache.axis.enterprise=FATAL, CONSOLE | ||
|
||
# CONSOLE is set to be a ConsoleAppender using a PatternLayout. | ||
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender | ||
log4j.appender.CONSOLE.Threshold=INFO | ||
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout | ||
log4j.appender.CONSOLE.layout.ConversionPattern=%5p %d{HH:mm:ss,SSS} (%C{1}) - %m%n | ||
|
||
# LOGFILE is set to be a File appender using a PatternLayout. | ||
log4j.appender.LOGFILE=org.apache.log4j.RollingFileAppender | ||
log4j.appender.LOGFILE.File=./log/catissue.log | ||
log4j.appender.LOGFILE.Append=true | ||
log4j.appender.LOGFILE.MaxFileSize=1024KB | ||
log4j.appender.LOGFILE.MaxBackupIndex=7 | ||
log4j.appender.LOGFILE.Threshold=INFO | ||
log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout | ||
#log4j.appender.LOGFILE.layout.ConversionPattern=%-4r %d [%t] %-5p %C{3} - %m%n | ||
log4j.appender.LOGFILE.layout.ConversionPattern= %-5p %d %C{3} - %m%n | ||
# LOGFILE for all hibernate logs | ||
log4j.appender.HIBERNATE=org.apache.log4j.RollingFileAppender | ||
log4j.appender.HIBERNATE.File=./log/hibernatesql.log | ||
log4j.appender.HIBERNATE.Append=true | ||
log4j.appender.HIBERNATE.MaxFileSize=1024KB | ||
log4j.appender.HIBERNATE.MaxBackupIndex=7 | ||
log4j.appender.HIBERNATE.Threshold=INFO | ||
log4j.appender.HIBERNATE.layout=org.apache.log4j.PatternLayout | ||
log4j.appender.HIBERNATE.layout.ConversionPattern= %-5p %d %c - %m%n | ||
|
||
log4j.logger.edu.wustl.catissuecore=info, LOGFILE | ||
|
||
#For logging hibernate api messages uncomment either of the following | ||
### log just the SQL | ||
# log4j.logger.org.hibernate.SQL=debug,HIBERNATE | ||
#log4j.logger.org.hibernate=info,HIBERNATE |