# sample properties to initialise log4j log4j.rootCategory=DEBUG, stdout, file # stdout appender log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%-5p %d [%t] %c: %m%n # file appender log4j.appender.file=org.apache.log4j.FileAppender log4j.appender.file.File=/tmp/DDS_TestNG.log log4j.appender.file.layout=org.apache.log4j.PatternLayout log4j.appender.file.layout.ConversionPattern=%-5p %d [%t] %c: %m%n