nav-img
Advanced

Log Reporting

Scenarios

If you enable log reporting, all logs generated by DRS instances are uploaded to Log Tank Service (LTS) for management.

Precautions

  • After this function is enabled, all logs of the task are reported by default.
  • This request does not take effect immediately. There is a delay of about 10 minutes.
  • Ensure that there are available LTS log groups and log streams in the same region as your instance.
  • After this function is disabled, you will not be billed anymore.

Enabling or Disabling Log Reporting

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and project.
  3. Choose Database > Data Replication Service. The Data Replication Service page is displayed.
  4. Take real-time migration as an example. On the Online Migration Management page, click the target migration task name in the Task Name/ID column.
  5. On the Basic Information page, click Migration Logs on the left.
  6. Click next to Report Logs to LTS in the upper part of the page.
  7. Select an LTS log group and log stream and click OK.

    Note

    This request does not take effect immediately. There is a delay of about 10 minutes.

  1. To disable or modify log reporting, click the toggle switch next to Report Logs to LTS or click Edit next to the Report Logs to LTS toggle switch.

    • Modifying log reporting: Click Edit next to the Report Logs to LTS toggle switch. In the displayed dialog box, select the LTS log group and log stream again and click OK.
    • Disabling log reporting: Click the toggle switch next to Report Logs to LTS. In the displayed dialog box, click OK.