log4j.rootLogger=OFF
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=%t %-5p %c{2} - %m%n 
log4j.rootLogger=INFO, 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=%t %-5p %c{2} - %m%n



log4j.category.edu.isi.wings=DEBUG, wings
log4j.additivity.edu.isi.wings=false
log4j.appender.wings=org.apache.log4j.RollingFileAppender
log4j.appender.wings.File=${catalina.home}/logs/wings.log
log4j.appender.wings.Append=true
log4j.appender.wings.ImmediateFlush=true
log4j.appender.wings.MaxFileSize=1MB
log4j.appender.wings.MaxBackupIndex=5
log4j.appender.wings.layout=org.apache.log4j.PatternLayout
log4j.appender.wings.layout.conversionPattern=%t %-5p %c{2} - %m%n

Change logging from disabled by default to enabled.
Change logging from disabled by default to enabled.

Earlier logging was disabled as a result System.out.print statements did not end up in the catalina.out file.

Change 1:

    Set root logger to append to stdout. Tomcat's log configuration routes this to catalina.out.

Change 2:

    Create a new logger `edu.isi.wings` to capture all log records from edu.isi.wings.* classes. These statements are destined for ${catalina.home}/logs/wings.log.
