Fluid Topics Log Management - Fluid Topics - 3.4

Fluid Topics Installation and Administration Guide

Fluid Topics
Reference Guide

Fluid Topics' logs are managed through the logback standard (SLF4J).

By default, Fluid Topics log configuration is defined in the following file:


with the following content:

<!-- http://logback.qos.ch/manual/appenders.html#FileAppender -->
<appender name="FILE" class="ch.qos.logback.core.FileAppender">
<pattern>%date - %X{FT_APPLICATION_NAME} [%level] %logger - %message %xException{10}\n</pattern>

<!-- http://logback.qos.ch/manual/configuration.html#rootElement -->
<root level="ERROR">
<appender-ref ref="FILE"/>

<!-- http://logback.qos.ch/manual/configuration.html#loggerElement -->
<logger name="akka" level="WARN"/>
<logger name="net.antidot" level="WARN"/>

The prod-logger.xml configuration file is divided in the three following parts:

  • Appender: defines the different ways to log messages: what is done with logs, where they are written, where they can be found, if there are sent by email, and so on.
  • Root: defines the default value for all loggers.
  • Logger: defines elements that send information written into log files. Each logger can be configured to modify the level of logs that can be consulted. In Fluid Topics:
    • net.antidot: is the main logger of the whole Fluid Topics solution.
    • akka: is the logger for the web server used in Fluid Topics.