You can push Message Service (MNS) logs to Log Service and view operations logs in the Log Service console. This topic describes how to configure MNS and Log Service to push logs.

Prerequisites

Log Service is activated, and a project and a Logstore are created. For more information, see Preparations.
Notice You must create a Log Service project in the region where MNS is deployed.

Procedure

  1. Log on to the MNS console.
  2. In the top navigation bar, select a region.
  3. In the left-side navigation pane, select Logging management.
  4. On the Cloud Resource Access Authorization page, click Confirm Authorization Policy.
  5. On the Logging Management page, click Configure in the Action column.
  6. In the Configure dialog box, select a project and Logstore. Then, click OK.

Result

After completing the configurations, you can view the logging bucket of the target region on the Configure page.

What to do next