Updated on 2025-08-15 GMT+08:00

Viewing System Logs

Viewing Operation Logs

Operation logs record the operations performed by all users of the same account in Huawei Cloud Astro Zero for operational analysis.

  1. Log in to the Huawei Cloud Astro Zero console and click Access Homepage. The application development page is displayed.
  2. In the upper left corner of the page, click and choose Environments > Environment Configuration.
  3. Choose Monitoring from the main menu.
  4. In the navigation pane, choose Logs > Operation Logs.
  5. On the operation log page, query logs by time, operator, or client IP address.

    Table 1 Parameters

    Parameter

    Description

    Operated

    Time when an operation is recorded.

    Operator

    Operator name, that is, the user of Huawei Cloud Astro Zero.

    Level

    Log level. The system classifies operation logs into the following levels:

    • ERROR: error log
    • WARN: alarm log
    • INFO: success log

    Client IP

    Client IP address used by a user to log in to Huawei Cloud Astro Zero.

    Operation

    Operation type, including login, logout, SSO, SLO, and user creation.

    Result

    Operation result recorded by the system, such as success and failure.

    Remarks

    Additional information.

Viewing the Deployment Logs

In Deployment Logs, you can query deployment logs of key asset applications based on conditions.

  1. Log in to the Huawei Cloud Astro Zero console and click Access Homepage. The application development page is displayed.
  2. In the upper left corner of the page, click and choose Environments > Environment Configuration.
  3. Choose Monitoring from the main menu.
  4. In the navigation pane, choose Logs > Deployment Logs.
  5. On the deployment log page, query logs by date range and deployment package name.

    Table 2 Deployment log parameters

    Parameter

    Description

    Package Name

    Name of the software package.

    Task Name

    Task name, that is, the name of the software package installation task recorded by the system.

    Status

    Deployment status. The value can be Successful, Failed, or Running.

    Time Required (s)

    Time required for installing the software package.

    Version

    Version number of the software package to be installed.

    Owner

    Operator who installs the software package.

    Created

    Time when a deployment task is created.

    End

    End time of a deployment task.

Viewing Run Logs on Huawei Cloud Astro Zero

You can view run logs of programs to locate faults.

  1. Log in to the Huawei Cloud Astro Zero console and click Access Homepage. The application development page is displayed.
  2. In the upper left corner of the page, click and choose Environments > Environment Configuration.
  3. Choose Monitoring from the main menu.
  4. In the navigation pane, choose Logs > Run Logs.
  5. On the run log page, query run logs by date range and keyword.

    Table 3 Run log parameters

    Parameter

    Description

    Timestamp

    Time when the system records a log.

    Source

    Source of a log.

    Module

    Module where a log is generated.

    User ID

    ID of the user who performs the operation.

    Request ID

    ID of the request for which an error is reported.

    Message

    Detailed log information.

Viewing Run Logs on LTS

Huawei Cloud Astro Zero can collect logs to Log Tank Service (LTS) for further log collection, analysis, and storage. You can use LTS to efficiently analyze service trends and perform security monitoring and audit.

Run logs are free of charge. However, after logs are dumped to LTS, you need to pay for the logs according to the LTS pricing details. For details, see Log Tank Service User Guide.

  1. Create log groups and log streams on the LTS console.

    Log in to the LTS console. Create a log group and a log stream by referring to Creating a Log Group and Creating a Log Stream.

  2. Enable the log dump function on the Huawei Cloud Astro Zero console.

    1. Log in to the Huawei Cloud Astro Zero console. On the homepage, click Access Homepage to go to the application development page.
    2. In the upper left corner of the page, click and choose Environments > Environment Configuration.
    3. Choose Monitoring from the main menu.
    4. In the navigation pane, choose Logs > Run Logs.
    5. On the Run Logs page, click LTS Configuration.
    6. Enable log recording, set the log group, log level, and log stream, and click the confirm button.
      Figure 1 Configuring LTS
      Table 4 Parameter description

      Parameter

      Description

      Region

      Only CN North-Beijing4 is supported. Ensure that LTS and Huawei Cloud Astro Zero are in the same region.

      Log Group

      Select an LTS log group.

      Log Level

      Select a log level. The options are DEBUG, INFO, WARN, and ERROR.

      To ensure the running performance, DEBUG-level logs are collected only for 10 minutes. After 10 minutes, logging automatically switches to INFO level. Logs below the selected level are not collected.

      Log Scope

      Currently, only full logs can be pushed to a specified log stream.

      Log Stream

      Select an LTS log stream.

  3. Wait for 10 minutes, return to the LTS console, and view logs.