Logging back-end
The work of formatting and writing out messages logged by the Diffusion™ server is done by the logging back-end. Diffusion uses Log4j2 as the default framework, but you can configure the Diffusion server to use other SLF4J implementations.
Log4j2 logging framework
Diffusion supports log4j2 as the default logging implementation. Log4j2 is a third-party SLF4J implementation provided by the Apache Software Foundation. For more information, see http://logging.apache.org/log4j/2.x/.
The log4j2 implementation of SLF4J supports a wide range of appenders and allows fine-grained tuning of logged events.
You can change the log4j2 logging behavior by editing the provided log4j2.xml configuration file.
For more information, see Configuring log4j2.
Other logging frameworks
Your Diffusion server can be configured to use any logging framework that implements SLF4J . However, only the log4j2 framework is supported for production use.
For more information, see Logging using another SLF4J implementation.