Checking Log Files
You can quickly check log files of component instances or hosts to locate faults.
Procedure
- Log in to the AOM 2.0 console.
- In the navigation pane, choose Log Analysis > Log Files.
In regions where new log analysis functions are supported, you can access the Log Files page through the entry described in Table 2.
- On the page that is displayed, click the Component or Host tab and click a name. Information such as the log file name and latest written time is displayed on the right of the page.
- Click View in the Operation column of the desired instance. Table 1 shows how to view log file details. Figure 1 shows log file details.
Table 1 Operations Operation
Settings
Description
Setting a time range
Date
Click to select a date.
Viewing log files
Clear
Click Clear to clear the logs displayed on the screen. Logs displayed on the screen will be cleared, but will not be deleted.
Viewing logs in real time
Real-time viewing is disabled by default. You can click Enable Real-Time Viewing as required. After this function is enabled, the latest written logs can be viewed. Logs can be searched only when real-time viewing is disabled.
For real-time log viewing, AOM automatically highlights exception keywords in logs, facilitating fault locating. Such keywords are case-sensitive. For example, when you enter format to search, format in logs will be highlighted, but Format and FORMAT will not.
- (Optional) Click Configure Dumps in the Operation column of the target instance to dump its logs to the same log file in the OBS bucket at a time. For details, see Adding One-Off Dumps.
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