/[PAMELA software]/yoda/log4cxx.conf
ViewVC logotype

Diff of /yoda/log4cxx.conf

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2.1 by kusanagi, Sun Oct 17 12:27:44 2004 UTC revision 6.0 by kusanagi, Tue Feb 7 17:10:40 2006 UTC
# Line 1  Line 1 
1    
2  ##Eventually you can add more loggers using something like this below  ##Eventually you can add more loggers using something like this below
3  #log4j.rootLogger=debug, A1, yourLogger1, yourLogger2  #log4j.rootLogger=debug, A1, yourLogger1, yourLogger2
4    
5  log4j.rootLogger=ERROR, toFile  #The details level are:
6    # tons of logs --> DEBUG, INFO, WARN, ERROR, FATAL <-- just a few
7    
8  log4j.appender.toFile=org.apache.log4j.FileAppender  #Set here the detail level for the standardOutput (the video)
9  log4j.appender.toFile.File=/home/kusanagi/Data/RootData/YodaLog.log  log4j.rootLogger=ERROR, toStdout
 log4j.appender.toFile.layout=org.apache.log4j.PatternLayout  
 log4j.appender.toFile.layout.ConversionPattern=%p %t %c - %m%n  
10    
11  ##---------------------------------------------------------------  #----------------------------------------------------------------
12  # Below here you can define all the Appender and Layout for your custom Loggers  #Uncomment ALL the "log4j" lines below to activate the file log
13    #Threshold is a bug fixed in the to-be-released 0.9.8 version
14    #log4j.appender.toFile.Threshold=INFO
15    #Set here the detail level for the output to file
16    #log4j.rootLogger=INFO, toFile
17    
18    #log4j.appender.toFile=org.apache.log4j.FileAppender
19    
20    #Set here the path to your log file
21    #log4j.appender.toFile.File=putHereYourPath/YodaLog.log
22    
23    #log4j.appender.toFile.layout=org.apache.log4j.PatternLayout
24    #log4j.appender.toFile.layout.ConversionPattern=%p %t %c - %m%n
25    #----------------------------------------------------------------
26    
27    
28    #----------------------------------------------------------------
29    # Below here you can define all the Appender and Layout for your custom Loggers
30  #log4j.appender.toStdout=org.apache.log4j.ConsoleAppender  #log4j.appender.toStdout=org.apache.log4j.ConsoleAppender
31  #log4j.appender.toStdout.layout=org.apache.log4j.PatternLayout  #log4j.appender.toStdout.layout=org.apache.log4j.PatternLayout
32    
33    #Threshold is a bug fixed in the to-be-released 0.9.8 version
34    #log4j.appender.toStdout.Threshold=ERROR
35  # Pattern to output the caller's file name and line number.  # Pattern to output the caller's file name and line number.
 #log4j.appender.toStdout.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n  
36    #log4j.appender.toStdout.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n
37    #----------------------------------------------------------------

Legend:
Removed from v.2.1  
changed lines
  Added in v.6.0

  ViewVC Help
Powered by ViewVC 1.1.23