How to view log information of an AR

Log information of an AR is stored in the log buffer first. When the log buffer is full, the system automatically saves log information in the log buffer to a storage medium of the AR. The log file is automatically generated by the system, with the file name extension *.log or *.dblg.
1. The following describes how to view a log file and log buffer using commands.
- To check the log file name, run the dir command in the user view.
 <Huawei>dir /all                                                        
Directory of flash:/                                                            
  Idx  Attr     Size(Byte)  Date        Time(LMT)  FileName                     
    0  -rw-        516,885  Feb 14 2009 02:13:14
    1  -rw-        479,440  Jan 17 2009 04:10:43
    2  -rw-        484,459  Jan 25 2009 19:35:59
    3  -rw-        160,660  Mar 17 2009 14:27:58  
- To view log information saved in the log file, run the following command:display logfile file-name //file-name indicates the name of a log file.
- To view log information in the log buffer, run the following command:display logbuffer

2. To view a log file and log buffer in the web management system, perform the following operations:
Log in to the web management system, choose System Management > Log Management, and you can view and operate logs.

Other related questions:
How to view logs and alarms on S series switches
How can I view log information
If you have more questions, you can seek help from following ways:
To iKnow To Live Chat To Google
Scroll to top