# sample properties to initialise log4j log4j.rootCategory=INFO, stdout # Declare specific logger for monkey.logger.base.MonkeyTesting=INFO, file, stdout log4j.logger.base.BasePage=INFO, file, stdout log4j.logger.base.BaseTest=INFO, file, stdout log4j.logger.base.MonkeyTesting=INFO, file, stdout log4j.logger.tools.ErrorChecker=ERROR, file, stdout log4j.additivity.base.MonkeyTesting=false log4j.additivity.base.BasePage=false log4j.additivity.base.BaseTest=false log4j.additivity.tools.ErrorChecker=false # Direct log messages to a log file log4j.appender.file=org.apache.log4j.FileAppender log4j.appender.file.File=${logfile.directory}${logfile.exec.name} log4j.appender.file.ImmediateFlush=true log4j.appender.file.Append=false log4j.appender.file.layout=org.apache.log4j.PatternLayout log4j.appender.file.layout.ConversionPattern=[%d %p %c %M] %m%n # Direct log messages to stdout log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.Target=System.out log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%d %p %c %M: %m%n