Viewing Error Logs of a DB Instance
Error logs contain logs generated while the database is running. They can help you analyze problems with the database.
Viewing Log Details
- Log in to the management console.
- Click in the upper left corner and select a region and project.
- Click in the upper left corner of the page and choose Databases > GaussDB(for MySQL).
- On the Instances page, click the instance name.
- In the navigation pane, choose Logs.
- On the
page, view error logs of different nodes, at different log levels, and within a specified time range.
Click the drop-down list in the upper right corner, and select a node name and a log level as needed.
The levels of error logs include ALL, INFO, WARNING, ERROR, FATAL and NOTE.
Click and specify a time period.
Figure 1 Viewing error logs
Reporting Error Logs to LTS
- Log in to the management console.
- Click in the upper left corner and select a region and project.
- Click in the upper left corner of the page, choose .
- On the Instances page, click the instance name.
- In the navigation pane, choose Logs.
- On the Error Logs tab, click next to Report Error Logs to LTS.
- Select an LTS log group and log stream and click OK.
Figure 2 Reporting error logs to LTS
APIs
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot