Skip to main content

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 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:


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

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

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 – let us know how we can improve!