uses the Apache
log4j utility to handle logging.
log4j is very flexible: among other things, it allows
the logging level to be changed without restarting the
By default, the
outputs log messages to
System.out, which means the
application server's log file. You can, however, change this (and many
other log settings) by creating a
and adding it to your application server's classpath. An easy way of doing
Copy the supplied template
/opt/escenic/engine/classesto the root folder of your common configuration layer (
Edit the copied file (see Editing trace.properties).
Most application servers have a folder whose contents are automatically added to the classpath. Create a symbolic link to your
trace.propertiesfile in this folder. If you use Tomcat, for example, you can make sure your
trace.propertiesis added to the classpath by entering:
$ cd /opt/tomcat/lib/ $ ln -s /etc/escenic/engine/common/trace.properties
If you do this, then any changes you make to
trace.properties will take effect the next time you
start the application server.