How to Save and View Log Information on ME60?
1. If the board is equipped with only one CF card, the log is saved on the cfcard, by default. If the board is equipped with two CF cards, the log is also saved on cfcard, by default; but you can use the cd cfcard2: command to change the file path and save the log on cfcard2.
2. Command used to save the operation records and system log in user view and system view:
<Quidway>save logfile command.
3. Command used to save the operation records and log in hidden view and diagnosis view:
4. Default storage location of the log file:
The recent operation records and system log in user view and system view are stored in the log.txt file. When the log.txt file is larger than 8 MB, the date will be added to the file name. The operation records in hidden view and diagnosis view are saved in the diag.txt file. See the following examples:
Directory of cfcard:/log/
0 -rw- 1932823 Nov 26 2007 13:01:24 log.txt
1 -rw- 2667365 Nov 26 2007 12:18:04 diag.txt
2 -rw- 3773579 Sep 42 2007 23:28:12 2008-09-24.23-28-14.log.txt
1. Command used to view the system log (excluding operation records): [Quidway]display logbuffer
Note: You cannot use this command to view operation records because the VRP platform design hides a command line in this command.
2. Command used to view the operation records in user view and system view (only those in the memory buffer):
[Quidway-hidecmd]display logfile buffer
3. Command used to view the operation records and log in hidden view and diagnosis view (only those in the memory buffer):
[Quidway-hidecmd]display diag-logfile buffer
4. Method of viewing the log files in the CF card:
You can directly use the more command in user view to view the log.txt file. But before doing so, you must run the command to save the operation log. The diag.txt file is encrypted and you cannot use the more command to view it in user view. You need to use the following methods to view the diag.txt file:
C01 version: You cannot use the more command to view the diag.txt file. You must download it and use the R&D decryption tool to view it.
C02 version: You can directly use the more diag.txt decrypt command in the hidden mode to view the diag.txt file.