-
Notifications
You must be signed in to change notification settings - Fork 0
/
Log4j.properties
32 lines (25 loc) · 1.14 KB
/
Log4j.properties
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
26
27
28
29
30
31
32
#log4j.rootLogger=info,myapp
#log4j.appender.myapp=org.apache.log4j.RollingFileAppender
#log4j.appender.myapp.file=c:/myapp.htm
#log4j.appender.myapp.maxFileSize=10MB
#log4j.appender.myapp.maxBackupIndex=10
#log4j.appender.myapp.layout=org.apache.log4j.PatternLayout
#log4j.appender.myapp.layout=org.apache.log4j.HTMLLayout
#log4j.appender.myapp.layout.ConversionPattern=%d %5p [%t] (%F:%L) - %m%n
#log4j.logger.com.acme=DEBUG
#log4j.logger.org.springframework=DEBUG
#log4j.logger.javax.faces=DEBUG
#log4j.logger.org.apache.myfaces=DEBUG
#log4j.logger.com.sun.faces=DEBUG
log4j.rootLogger=INFO, stdout, R
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
# Pattern to output the caller's file name and line number.
log4j.appender.stdout.layout.ConversionPattern=%d %5p [%t] (%F:%L) - %m%n
log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.File=siteprotect_logger.log
log4j.appender.R.MaxFileSize=10MB
# Keep one backup file
log4j.appender.R.MaxBackupIndex=1
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=%d [%t] %-5p %c - %m%n