Process Services uses Logback for logging.
Process Services installs with the default Logback configuration reading from <Tomcat install location>/webapps/activiti-app/WEB-INF/classes/logback.xml and the equivalent location for Process Services Administrator.
The default configuration can be overridden by placing your own logback.xml in <Tomcat install location>/lib
By default Process Services logs to the console. To log to file, edit the logging configuration file to specify a file appender and location. For example:
<appender name="FILE" class="ch.qos.logback.core.FileAppender"> <file>${LOG_DIR}/activiti-app.log</file> <append>true</append> <encoder> <pattern>%-4relative [%thread] %-5level %logger{35} - %msg%n</pattern> </encoder> </appender>
It is possible to configure Logback to rescan the configuration file for any modifications made at regular intervals, without having to restart the application server by adding the following line to your custom logback.xml file:
<configuration scan="true" scanPeriod="45 seconds">
Additional configuration options are also available for customizing logging.