Updated on 2024-06-20 GMT+08:00

Viewing Redis Run Logs

You can create run log files on the DCS console to collect run logs of DCS Redis instances within a specified period. After the logs are collected, you can download the log files to view the logs.

Procedure

  1. Log in to the management console, and choose Application > Distributed Cache Service in the service list.
  2. Click in the upper left corner of the management console and select the region where your instance is located.
  3. In the navigation pane, choose Cache Manager.
  4. Click a DCS instance.
  5. Click the Run Logs tab.
  6. Click Create Log File and specify the collection conditions.

    If the instance is the master/standby, read/write splitting, or cluster type, you can specify the shard and replica whose run logs you want to collect. If the instance is the single-node type, logs of the only node of the instance will be collected.

    Select the collection period and click OK.

  7. After the log file is successfully collected, click Download to download it.

    The Redis kernel generates few logs, so your selected period may contain no logs.