Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

You can use either Apache Log4j version 1.x or 2 for logging purposes.

To configure Log4j version 1.x, perform the following steps:

  1. In the 'loggerconfig.properties' file, add the following value for 'LOGGER_CLASS' property:
    • LOGGER_CLASS = com.intellectdesign.canvas.logging.log4j1x.CanvasSLF4jLoggerImpl
  2. Add the following JARs to your application WAR file:
  • CTLogging-Log4j-1x.jar
  • log4j-1.2.14.jar


To configure Log4j version 2, perform the following steps:

  1. In the 'loggerconfig.properties' file, add the following value for 'LOGGER_CLASS' property:
    • LOGGER_CLASS=com.intellectdesign.canvas.logging.log4j2.CanvasLog4j2LoggerImpl


  2. Add the following JARs to your application WAR file:
  • CTLogging-Log4j-2x.jar
  • log4j-core-2.5.jar
  • log4j-api-2.5.jar


  • No labels