You can use either Apache Log4j version 1.x or 2 for logging purposes.
To configure Log4j version 1.x, perform the following steps:
- In the 'loggerconfig.properties' file, add the following value for 'LOGGER_CLASS' property:
- LOGGER_CLASS = com.intellectdesign.canvas.logging.log4j1x.CanvasSLF4jLoggerImpl
- Add the following JARs to your application WAR file:
...
- In the 'loggerconfig.properties' file, add the following value for 'LOGGER_CLASS' property:
- LOGGER_CLASS=com.intellectdesign.canvas.logging.log4j2.CanvasLog4j2LoggerImpl
- Add the following JARs to your application WAR file:
...