Skip to main content
  • New archived content: Talend MDM, Talend Data Catalog 8.0, and Talend 7.3 products reached their end of life in 2024. Their documentation was moved to the Talend Archive page and will no longer receive content updates.
Close announcements banner

Using a logback configuration for the Talend Data Preparation log files

If you want to enable a more advanced logging configuration, you will need to specify a logback.xml file in the application.properties file.

This logback.xml file containing your configuration is specified using the logging.config=<path-to-config-file> property.

Example of a logback configuration to set the logging to the DEBUG level:

<configuration>

  <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
    <!-- encoders are assigned the type
         ch.qos.logback.classic.encoder.PatternLayoutEncoder by default -->
    <encoder>
      <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
    </encoder>
  </appender>

  <root level="debug">
    <appender-ref ref="STDOUT" />
  </root>
</configuration>

For more information, see the documentation on the Logback file configuration and the Spring logging system.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!