Viewing Log Files

You can quickly view log files of component instances to locate faults.

Viewing Log Files

  1. In the navigation pane, choose Log > Log Files.

  2. On the page that is displayed, click the Component or Host tab and click a component or host name. Information such as the log file name and latest written time is displayed in the log file list on the right.

  3. Click View in the Operation column of the desired instance. Table 1 describes how to view log file details. Figure 1 shows log file details.

    Table 1 Operations




    Setting a time range


    Click image1 to select a date.

    Time range

    Click the desired time on the time axis to set a time range. You can select only one unit (5 minutes) each time.

    Viewing log files


    Click Clear to clear the logs displayed on the screen. Logs displayed on the screen will be cleared, but will not be deleted.

    Viewing real-time logs

    The real-time monitoring function 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.

    The exception in the log records the exceptions that occur during code running. When using logs to locate faults, pay attention to the exception. For real-time log viewing, AOM automatically highlights exception keywords in logs, facilitating fault locating. Such keywords are case-sensitive. For example, exception and Exception are highlighted, but keywords such as EXCEPTION, exCeption, and EXception are not highlighted.

    **Figure 1** Log file details

    Figure 1 Log file details

Log File Description

The time information contained in a log file, if any, is automatically displayed, as shown in the red box in Figure 2. This time information is irrelevant to the time range that you set.

**Figure 2** Viewing log files

Figure 2 Viewing log files