Penrose 0.9.9 Logging

Penrose utilizes Log4j for logging. When running in the foreground, by default the output will be shown on the screen. When running in the background, by default the output will be stored in PENROSE_SERVER_HOME/var/penrose.out. Note: running Penrose in the debug mode will slow down the performance considerably.

Logging Levels

To start Penrose Server in normal mode:

penrose.bat

To start Penrose Server in verbose mode:

penrose.bat -v

To start Penrose Server in debug mode:

penrose.bat -d

Custom Logger

You can create your own logging configuration and put it in PENROSE_HOME/conf/log4j.properties. This will overwrite the logging mode above.

log4j.debug=false
log4j.rootLogger=OFF

log4j.logger.org.safehaus.penrose=DEBUG, stdout

log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%-20C{1} [%4L] %m%n