-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathlog4j.properties
More file actions
26 lines (19 loc) · 996 Bytes
/
log4j.properties
File metadata and controls
26 lines (19 loc) · 996 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#uses both FileAppender and ConsoleAppender
log4j.rootLogger=DEBUG, R
#Configures the RollingFileAppender, comment this part if DailyRollingFileAppender is used
log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.File=WorkflowComponent.log
log4j.appender.R.encoding=UTF-8
log4j.appender.R.MaxFileSize=1000MB
log4j.appender.R.MaxBackupIndex=10
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=%p: [%t] %c %d{dd MMM yyyy HH:mm:ss,SSS} - %m%n
#Configures the ConsoleAppender, comment this part if only R is used
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%p: [%t] %c %d{dd MMM yyyy HH:mm:ss,SSS} - %m%n
#to change logging level for a specific datashop package
log4j.logger.edu.cmu.pslc.learnsphere=DEBUG
log4j.logger.org.springframework=WARN
log4j.logger.org.hibernate=DEBUG
log4j.logger.edu.cmu.pslc=INFO