Example Logging Set-up
You can use the following example trace.properties
file as a basis for your own logging configuration. Replace
mycompany and
MYCOMPANYLOG with suitable names of your own.
log4j.rootCategory=ERROR log4j.category.com.escenic=ERROR, ECELOG log4j.category.neo=ERROR, ECELOG log4j.category.com.mycompany=ERROR, MYCOMPANYLOG log4j.appender.ECELOG=org.apache.log4j.DailyRollingFileAppender log4j.appender.ECELOG.File=/var/log/escenic/ece-messages.log log4j.appender.ECELOG.layout=org.apache.log4j.PatternLayout log4j.appender.ECELOG.layout.ConversionPattern=%d %5p [%t] %x (%c) %m%n log4j.appender.MYCOMPANYLOG=org.apache.log4j.DailyRollingFileAppender log4j.appender.MYCOMPANYLOG.File=/var/log/escenic/mycompany-messages.log log4j.appender.MYCOMPANYLOG.layout=org.apache.log4j.PatternLayout log4j.appender.MYCOMPANYLOG.layout.ConversionPattern=%d %5p [%t] %x (%c) %m%n