Skip to main content

Change Logs Level for a Job

If you cannot locate an issue based on the logs at the INFO level, you can change the level of logs to DEBUG. This page describes how to change the level of logs for a job and provides the related limits and precautions.

Background Information

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

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

Limits

  • You can change the level of logs for a job only to the INFO or DEBUG level. If you change the level to a higher level, you may not locate 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.

Precautions

  • After you change the log level to DEBUG, logs at the DEBUG, INFO, WARN, and ERROR levels are printed.
  • After you change the log level to INFO, logs at the INFO, WARN, and ERROR levels are printed.
  • After you change the log level, only the new logs that are generated are affected. Existing logs are not affected.
  • If you set the log level to DEBUG, the performance of the job may be affected. If you do not need to locate issues, Ververica recommends that you set the log level to INFO.

Procedure

  1. On the Dashboard page, open the console for the workspace you want to manage.
  2. In the Console navigation pane, click Deployments.
  3. Click the name of the desired deployment.
  4. Display the Diagnostics tab.
  5. Click the Logs tab >> choose the Job Manager or a Task Manager.

To Change the Log Level of the JobManager:

Log level job

  1. On the Job Manager tab, click the Logs tab.
  2. Click Edit.
  3. Click OK.
  4. Select the desired log level from the Log Level drop-down list.
  5. Click OK.

To Change the Log Level of a TaskManager:

Log level job

  1. On the Running Task Managers tab, click the value in the Path, ID column.
  2. Click Logs.
  3. Click Edit.
  4. Click OK.
  5. Select the desired log level from the Log Level drop-down list.
  6. After you change the log level, click OK.