All Products
Search
Document Center

Realtime Compute for Apache Flink:Change the log level for a running job

Last Updated:Aug 04, 2025

If you cannot identify an issue based on the INFO logs, change the log level to DEBUG. This topic describes how to change the level of logs for a running job, along with related limits and usage notes.

Background

The following table describes the supported log levels in ascending order of urgency.

Level

Description

TRACE

Records finer-grained information than DEBUG logs.

DEBUG

Records the status of the system.

INFO

Records important information or information of interest.

WARN

Records the information about potential issues.

ERROR

Records the information about occurred errors and exceptions.

Limits

  • You can change the log level to INFO or DEBUG. If you change the level to a higher level, you may not identify issues based on the logs.

  • You can change the log level of the JobManager.

  • You can change only the log level of a single TaskManager at a time. You cannot change the log levels of all TaskManagers at a time. If you want to change the log levels of all TaskManagers, you must separately change the log level of each TaskManager.

Usage notes

  • After you change the log level to DEBUG, logs at the DEBUG, INFO, WARN, and ERROR levels are displayed.

  • After you change the log level to INFO, only logs at the INFO, WARN, and ERROR levels are displayed.

  • After you change the log level, only the new logs that are generated are affected. Existing logs are not affected.

  • Setting the log level to DEBUG may affect the job performanc. If you do not need to identify issues, we recommend that you set the log level to INFO.

Procedure

  1. Log on to the Realtime Compute for Apache Flink console.

  2. Click Console in the Actions column of the target workspace.

  3. In the left-side navigation pane, click O&M > Deployments.

  4. On the Deployments page, click the target deployment name.

  5. Click the Logs tab.

  6. In the left-side pane, click the Logs tab and select the job that is running from the Job drop-down list.

  7. Change the log level of the JobManager or a TaskManager.

    • Change the log level of the JobManager

      1. On the Job Manager tab, click the Logs tab.修改运行作业.jpg

      2. Click Edit.

      3. In the message that appears, click OK.确定

      4. Select the log level that you want to set from the Log Level drop-down list.

      5. Click Confirm.

    • Change the log level of a TaskManager

      1. On the Running Task Managers tab, click the value in the Path, ID column.修改运行作业2.jpg

      2. Click the Logs tab.修改运行作业3.jpg

      3. Click Edit.

      4. In the message that appears, click OK.确定

      5. Select the log level that you want to set from the Log Level drop-down list.

      6. After you change the log level, click Confirm.