Proper Logging Configuration |

Proper Logging Configuration

To set up proper logging with the Escenic Content Engine, I use the following log4j configuration:

log4j.rootCategory=ERROR, ECELOG
log4j.appender.ECELOG.layout.ConversionPattern=%d %5p [%t] %x (%c) %m%n

I recommend putting this in /etc/escenic/engine/common/ and create symlinks from a common class loader directory of the application server, e.g.:

# cd /usr/share/tomcat6/lib
# ln -s /etc/escenic/engine/common/

Licensed under CC BY Creative Commons License ~ gmail torstein.k.johansen @ gmail ~ twitter @torsteinkrause ~