Just a second...

Configuring default logging

To use the default logging, ensure that the Diffusion™ logging JAR is at lib/slf4j-binding.jar. The default logging implementation is already located here when you first install the Diffusion server. Use the Logs.xml configuration file to configure the behavior of the Diffusion default logging.

Log messages created by the Diffusion server, and by publishers deployed to the server, are filtered by the configuration in etc/Logs.xml .

You can configure the following aspects of logging:
  • The level of logging to the console
  • The level of logging to a file
  • The name and location of the file
  • Whether the log files rotate based on time or file size or both
  • The time interval to use to rotate the files
  • The file size to use to rotate the files
  • The number of old log files to keep
Warning: Logging can use considerable CPU resources. In a production environment, enable only significant log messages (INFO and above). Performance degrades significantly when running at finer logging levels as more messages are produced, each requiring processing.

Logging on the Diffusion server cannot be configured using the configuration API. The LoggingConfig object is read-only.