Updated on 2024-05-28 GMT+08:00

Viewing Real-Time Logs

After associating a component with an LTS log group, you can view the component logs reported in real time.

Prerequisites

The component has been associated with a log group. For details, see Associating an LTS Log Group.

Procedure

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

    • On the Application Management page, click the application to which the component belongs, and click the target component in Component List. Alternatively, right-click the component and go to the component Overview page from the shortcut menu, and choose O&M Configurations > Logs in the left navigation pane.
    • On the Component Management page, click the target component. Alternatively, right-click the component and go to the component Overview page from the shortcut menu, and choose O&M Configurations > Logs in the left navigation pane.

  3. On the Running Logs page, select a log stream from the drop-down list.
  4. Click the Real-Time Logs tab and view the real-time logs in the Log Content area.

    One log record is reported every one minute. You can control log display by clicking Clear or Pause in the upper right corner.
    • Clear: clears all displayed logs.
    • Pause: pauses the real-time log display.

      After you click Pause, the button changes to Continue. You can click Continue to resume the log display.

    If you are viewing real-time logs, do not switch to another page. Or, logs will not be loaded in real time. The next time you access the tab, the logs that were shown before you left the tab will disappear.