All Products
Search
Document Center

Realtime Compute for Apache Flink:Change log level for running jobs

Last Updated:Mar 26, 2026

When INFO logs don't reveal enough detail to diagnose a problem, switch to DEBUG to capture finer-grained system state — without restarting the job.

Warning

DEBUG logging can affect job performance. Switch back to INFO as soon as you finish troubleshooting.

Log levels

The following log levels are supported, listed in ascending order of urgency.

LevelDescription
TRACERecords finer-grained information than DEBUG logs
DEBUGRecords the status of the system
INFORecords important information or information of interest
WARNRecords information about potential issues
ERRORRecords information about errors and exceptions

Behavior and limits

Log level scope:

  • You can only change the log level to INFO or DEBUG. Setting a higher level may hide the information you need.

  • You can change the log level of the JobManager.

  • You can change the log level of only one TaskManager at a time. You cannot change the log levels of all TaskManagers at a time. To change the log level of all TaskManagers, change each one separately.

Log visibility after a change:

  • Changing to DEBUG displays logs at the DEBUG, INFO, WARN, and ERROR levels.

  • Changing to INFO displays logs at the INFO, WARN, and ERROR levels only.

  • Only new logs generated after the change are affected. Existing logs are not affected.

Prerequisites

Before you begin, ensure that you have access to the Realtime Compute for Apache Flink console.

Change the log level

Change the JobManager log level

  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 running job from the Job drop-down list.

  7. On the Job Manager tab, click the Logs tab.

    修改运行作业.jpg

  8. Click Edit.

  9. In the message that appears, click OK.

    确定

  10. From the Log Level drop-down list, select the log level.

  11. Click Confirm.

Change a TaskManager log level

  1. Complete steps 1–6 in Change the JobManager log level.

  2. On the Running Task Managers tab, click the value in the Path, ID column.

    修改运行作业2.jpg

  3. Click the Logs tab.

    修改运行作业3.jpg

  4. Click Edit.

  5. In the message that appears, click OK.

    确定

  6. From the Log Level drop-down list, select the log level.

  7. Click Confirm.

After changing the log level

After switching to DEBUG, monitor the new logs to identify the issue. Once troubleshooting is complete, set the log level back to INFO to restore normal performance.