##Eventually you can add more loggers using something like this below #log4j.rootLogger=debug, A1, yourLogger1, yourLogger2 # levels are # tons of logs --> DEBUG, INFO, WARN, ERROR and FATAL <---- just few logs log4j.rootLogger=FATAL, toFile, toStdout #log4j.rootLogger=WARN, toFile, toStdout #log4j.rootLogger=ERROR, toFile, toStdout #log4j.rootLogger=DEBUG, toFile, toStdout log4j.appender.toFile=org.apache.log4j.FileAppender log4j.appender.toFile.File=/wizard3/pamela/integr/filesfromyoda/YodaLog.log log4j.appender.toFile.layout=org.apache.log4j.PatternLayout log4j.appender.toFile.layout.ConversionPattern=%d{%d %b %Y %H:%M:%S} %p %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 # Pattern to output the caller's file name and line number. log4j.appender.toStdout.layout.ConversionPattern=%d{%d %b %Y %H:%M:%S} %p %c - %m%n