/[PAMELA software]/productionkit/level0/log4cxx.conf
ViewVC logotype

Annotation of /productionkit/level0/log4cxx.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Thu Nov 30 14:09:18 2006 UTC (18 years ago) by mocchiut
Branch point for: productionkit, MAIN
Initial revision

1 mocchiut 1.1 ##Eventually you can add more loggers using something like this below
2     #log4j.rootLogger=debug, A1, yourLogger1, yourLogger2
3    
4     # levels are
5     # tons of logs --> DEBUG, INFO, WARN, ERROR and FATAL <---- just few logs
6    
7     log4j.rootLogger=FATAL, toFile, toStdout
8     #log4j.rootLogger=WARN, toFile, toStdout
9     #log4j.rootLogger=ERROR, toFile, toStdout
10     #log4j.rootLogger=DEBUG, toFile, toStdout
11    
12     log4j.appender.toFile=org.apache.log4j.FileAppender
13     log4j.appender.toFile.File=/wizard3/pamela/integr/filesfromyoda/YodaLog.log
14     log4j.appender.toFile.layout=org.apache.log4j.PatternLayout
15     log4j.appender.toFile.layout.ConversionPattern=%d{%d %b %Y %H:%M:%S} %p %c - %m%n
16    
17     ##---------------------------------------------------------------
18     # Below here you can define all the Appender and Layout for your custom Loggers
19    
20     log4j.appender.toStdout=org.apache.log4j.ConsoleAppender
21     log4j.appender.toStdout.layout=org.apache.log4j.PatternLayout
22    
23     # Pattern to output the caller's file name and line number.
24     log4j.appender.toStdout.layout.ConversionPattern=%d{%d %b %Y %H:%M:%S} %p %c - %m%n

  ViewVC Help
Powered by ViewVC 1.1.23