PageRenderTime 5ms CodeModel.GetById 2ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/protocols/jain-mgcp/stack/src/test/resources/log4j.properties

http://mobicents.googlecode.com/
Properties File | 24 lines | 11 code | 7 blank | 6 comment | 0 complexity | 45d3649fc033bab376e3d56ba21fdfd0 MD5 | raw file
 1# Set root logger level to DEBUG and its only appender to A1.
 2log4j.rootLogger=WARN, A1, R
 3
 4# A1 is set to be a ConsoleAppender.
 5log4j.appender.A1=org.apache.log4j.ConsoleAppender
 6
 7# File
 8log4j.appender.R=org.apache.log4j.RollingFileAppender
 9log4j.appender.R.File=${file.name}
10#log4j.appender.R.File=/home/abhayani/workarea/mobicents/svn/trunk/servers/media/test-suite/target/mylogfile.log 
11
12# Archive log files (one backup file here)
13log4j.appender.R.MaxBackupIndex=1
14
15log4j.appender.R.layout=org.apache.log4j.PatternLayout
16log4j.appender.R.layout.ConversionPattern=[%d{ISO8601}]%5p%6.6r[%t]%x - %C.%M(%F:%L) - %m%n
17
18# A1 uses PatternLayout.
19log4j.appender.A1.layout=org.apache.log4j.PatternLayout
20log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
21
22log4j.logger.org.mobicents.mgcp.stack=WARN
23log4j.logger.org.mobicents.mgcp.stack.test=WARN
24