### direct log messages to CONSOLE ###
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
log4j.appender.CONSOLE.Target=System.out
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
#log4j.appender.CONSOLE.layout.ConversionPattern=iweb: %d{dd MMM yyyy HH:mm:ss,SSS} %5p %c{1}:%L - %m%n
log4j.appender.CONSOLE.layout.ConversionPattern=iweb: %d{dd MMM yyyy HH:mm:ss,SSS} %5p - %m%n

### set log levels - for more verbose logging change 'info' to 'debug' ###
log4j.appender.SYSLOG=org.apache.log4j.net.SyslogAppender
log4j.appender.SYSLOG.facility=LOCAL2 
#log4j.appender.SYSLOG.portNumber=514 
log4j.appender.SYSLOG.layout=org.apache.log4j.PatternLayout 
#log4j.appender.SYSLOG.layout.ConversionPattern=%-5p %x - %m%n 
log4j.appender.SYSLOG.layout.ConversionPattern=iweb: %-5p - %m%n 
log4j.appender.SYSLOG.SyslogHost=localhost
log4j.appender.SYSLOG.Threshold=INFO 

#log4j.rootLogger=warn, CONSOLE
log4j.rootLogger=info, CONSOLE, SYSLOG

