--- yoda/log4cxx.conf 2004/10/17 12:27:44 2.1 +++ yoda/log4cxx.conf 2005/03/06 04:33:01 4.0 @@ -1,18 +1,37 @@ + ##Eventually you can add more loggers using something like this below #log4j.rootLogger=debug, A1, yourLogger1, yourLogger2 -log4j.rootLogger=ERROR, toFile +#The details level are: +# tons of logs --> DEBUG, INFO, WARN, ERROR, FATAL <-- just a few -log4j.appender.toFile=org.apache.log4j.FileAppender -log4j.appender.toFile.File=/home/kusanagi/Data/RootData/YodaLog.log -log4j.appender.toFile.layout=org.apache.log4j.PatternLayout -log4j.appender.toFile.layout.ConversionPattern=%p %t %c - %m%n +#Set here the detail level for the standardOutput (the video) +log4j.rootLogger=ERROR, toStdout -##--------------------------------------------------------------- -# 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 +#Threshold is a bug fixed in the to-be-released 0.9.8 version +#log4j.appender.toFile.Threshold=INFO +#Set here the detail level for the output to file +#log4j.rootLogger=INFO, toFile + +#log4j.appender.toFile=org.apache.log4j.FileAppender + +#Set here the path to your log file +#log4j.appender.toFile.File=putHereYourPath/YodaLog.log +#log4j.appender.toFile.layout=org.apache.log4j.PatternLayout +#log4j.appender.toFile.layout.ConversionPattern=%p %t %c - %m%n +#---------------------------------------------------------------- + + +#---------------------------------------------------------------- +# Below here you can define all the Appender and Layout for your custom Loggers #log4j.appender.toStdout=org.apache.log4j.ConsoleAppender #log4j.appender.toStdout.layout=org.apache.log4j.PatternLayout +#Threshold is a bug fixed in the to-be-released 0.9.8 version +#log4j.appender.toStdout.Threshold=ERROR # Pattern to output the caller's file name and line number. -#log4j.appender.toStdout.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n \ No newline at end of file +#log4j.appender.toStdout.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n +#---------------------------------------------------------------- \ No newline at end of file