Updated on 2024-12-16 GMT+08:00

Viewing Container Logs

ServiceStage allows you to view container logs of components deployed in the Kubernetes environment to locate and rectify faults that occur during component running.

Only container-deployed components support container log viewing.

  1. Log in to ServiceStage.
  2. Use either of the following methods to go to the Logs page.

    • On the Application Management page, click the application to which the component belongs, click the target component in Component List, and choose O&M Configurations > Logs in the left navigation pane.
    • On the Component Management page, click the target component and choose O&M Configurations > Logs in the left navigation pane.

    If the component is created by Creating a Component by Importing a CCE Workload and is not enabled:

    1. In the displayed dialog box, click OK.
    2. On the Enable Component page, click Enable and wait until the component is restarted.

  3. On the Container Logs page, view the component container logs.

    • Select the target instance from the Instance drop-down list.
    • Specify Lines to configure how many rows you can view.
    • Click Download to download the logs.