Customizing log4j output level at runtime - 7.3

Talend Open Studio User Guide

Version
7.3
Language
English
Product
Talend Open Studio for Big Data
Talend Open Studio for Data Integration
Talend Open Studio for Data Quality
Talend Open Studio for ESB
Module
Talend Studio
Content
Design and Development
Last publication date
2023-10-11
Available in...

Open Studio for Big Data

Open Studio for Data Integration

Open Studio for ESB

About this task

When activated in components, the Apache logging utility log4j outputs component-related logging information at runtime. By default, all logging messages of or higher than the level defined in the log4j configuration will be output to the defined target.

You can change the logging output level for an execution of your Job or Route. To do so, take the following steps:

Procedure

  1. In the Run view, click the Advanced settings tab.
  2. Select the log4jLevel check box, and select the desired output level from the drop-down list.
    This check box is displayed only when log4j is activated in components.
    For more information on the logging output levels, see Apache documentation at http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/Level.html.
  3. Run your Job or Route.

Results

All the logging messages of and higher than the level you set are output to the defined target.

For information on how to activate log4j in components and how to configure the logging behaviors globally, see Activating and configuring Log4j.

For more information regarding the components with which you can use the log4j feature, see List of components that support the Log4j feature on Talend Help Center (https://help.talend.com)..