Collecting Windows Log Files

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

Collecting Windows Log Files

Scenario
Collect Windows log files of a server.

Prerequisites
Conditions
 A Huawei V2, V3 or V5 server (excluding KunLun server) is available.
 The InfoCollect_Windows.zip file has been uploaded to the target server.
 You have logged in to Windows as an administrator.
 You have backed up key data, and checked the CPU usage, memory usage, and
available disk space to ensure that InfoCollect is operating properly.
 The IP address of the service network port on the target server must be pinged

Procedure
1. Decompress the InfoCollect_Windows.zip file, as shown in Figure 4-1.

Figure 4-1 Decompressing the InfoCollect_Windows.zip file

2. Go to the FusionServer Tools-InfoCollect-V125\InfoCollect-Windows\InfoCollect-


Windows directory, as shown in Figure 4-2.
Figure 4-2 Going to the FusionServer Tools-InfoCollect-V125\InfoCollect-
Windows\InfoCollect-Windows directory
3. (Optional) Modify the config.ini configuration file to specify the log files to be collected,
as shown in Figure 4-3.
Figure 4-3 config.ini configuration file

Change the value of flag to specify whether to collect a log file. InfoCollect collects all
log files by default, as shown in Figure 4-4.
Figure 4-4 Modifying the config.ini configuration file

NOTE:
You are advised to check the log files to be collected. If you do not want to collect a log
file, set flag to no.
4. Right-click the infoCollect.bat file in the FusionServer Tools-InfoCollect-
V125\InfoCollect-Windows\InfoCollect-Windows directory and choose Run as
administrator from the shortcut menu, as shown in Figure 4-5.
Figure 4-5 Choosing Run as administrator

The collection of Windows log files starts. Figure 4-6 shows collection process
information.

NOTE:
The collection process will last several minutes.
Figure 4-6 Collection process information

After log file collection is complete, the information shown in Figure 4-7 is displayed.
Figure 4-7 Information indicating that log file collection is complete

NOTE:
If the information shown in Figure 4-8 is displayed after log file collection is complete,
manually collect crash files to your local computer. Crash files are large. You need to
manually collect crash files for fault diagnosis.
Figure 4-8 Crash file information

5. Confirm that all log files are collected based on the content of the filelist.txt file
in Figure 4-9.

You can filter the collected log files and then compress them into a package.
Figure 4-9 Content of the filelist.txt file

NOTE:
You are advised to compress log files before sending them to Support for analysis.

You might also like