You can change the default data logging settings, including the logging level, for Web Application Platform and Teamwork Cloud as described below.

Web Application Platform uses the Apache Log4j logging framework. To learn more, see https://logging.apache.org/log4j/2.x/.


To configure the data logging


  1. Go to the <install_root>/WebAppPlatform/shared/conf directory and open the log4j2.properties file.
  2. Depending on your needs do one or both of the following:
    • To configure the logging of the Web Application Platform-related information, define the following properties:
      • logger.webappplatform.name
      • logger.webappplatform.level
      • logger.webappplatform.additivity
      • logger.webappplatform.appenderRef.file.ref
    • To change the number and size of logs to be stored, and the log storage time, define the following properties:
      • appender.file.type
      • appender.file.name
      • appender.file.fileName
      • appender.file.filePattern
      • appender.file.layout.type
      • appender.file.layout.pattern
      • appender.file.policies.type
      • appender.file.policies.time.type
      • appender.file.policies.size.type
      • appender.file.policies.size.size
      • appender.file.strategy.type
      • appender.file.strategy.max
  3. Restart the Java application server.


Standard logging levels

The Log4J framework has the following standard logging levels: OFF, FATAL, ERROR, WARN, INFO, DEBUG, TRACE, ALL.

How to turn off logging

You can disable data logging to a specific file by changing the logging level of the related logger.


To turn off logging


  1. Locate the logger you want to turn off.
  2. Change the logging level of that logger to "off".

  3. Restart the Java application server.

Turning logging back on

To turn on the data logging that has been disabled, change the logging level of the related logger from OFF to the logging level you want to use.