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.

Logging Configuration

The logging configuration is located in PENROSE_HOME/conf/log4j.properties.

log4j.debug=false
log4j.rootLogger=OFF

log4j.logger.org.safehaus.penrose=<level>, 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

Logging Levels

There are several logging levels that you can use: FATAL, ERROR, WARN, INFO, DEBUG. FATAL provides the least information, DEBUG provides the most. Running Penrose with the DEBUG level will slow down the performance considerably.