Help Center> ServiceStage> Developer Guide> Go Chassis> Collecting and Viewing Logs

Collecting and Viewing Logs

When you use the ServiceStage to deploy a Go-chassis application component, you can view related run logs on the Application Operations Management page.

  1. During application component deployment, expand Advanced Settings, click O&M Monitoring, click Log Collection, and click Add Log Policy , as shown in the following figure.

  2. In the Add Log Policy dialog box, enter the path where the running log locates in Mounting Path.

    As shown in the following figure, the application component runs in /home/chassis, and the log path is set to log/chassis.log.

  3. Access the Application Operations Management service, choose Log Management

  4. Select the cluster where the application component locates, enter an application component name to search for the application component, and click View next to mesher.log to view the application, as shown in the following figure.