1 |
afaq |
1.1 |
log4j.rootLogger=debug, stdout, R
|
2 |
|
|
|
3 |
|
|
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
|
4 |
|
|
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
|
5 |
|
|
|
6 |
|
|
# Pattern to output the caller's file name and line number.
|
7 |
|
|
log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n
|
8 |
|
|
|
9 |
|
|
log4j.appender.R=org.apache.log4j.RollingFileAppender
|
10 |
afaq |
1.2 |
log4j.appender.R.File=/data/DBS_Server/DMS_New/DBS/Server/etc/server.log
|
11 |
afaq |
1.1 |
|
12 |
|
|
log4j.appender.R.MaxFileSize=100KB
|
13 |
|
|
|
14 |
|
|
# Keep one backup file
|
15 |
|
|
log4j.appender.R.MaxBackupIndex=10
|
16 |
|
|
|
17 |
|
|
log4j.appender.R.layout=org.apache.log4j.PatternLayout
|
18 |
|
|
log4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n
|