No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

FAQ-Questions About the Logs of the NE40E

Publication Date:  2012-07-27 Views:  56 Downloads:  0
Issue Description
Q:
1. Are logs first saved in the buffer and then recorded in the CF card when the NE40E implements logging? Is there a time difference in between? Are certain logs lost in the case of unexpected power down in the logging process?
2. When are the logs of the NE40E saved in the CF card?
3. Does the equipment clear the log buffer before writing a log file? Is it possible that the log buffer contains the same file as the one to be written?
4. When does the NE40E generate a log file? If no log file of 8 MB is generated in a month, will the equipment forcibly generate a log file (and compress it at the same time)? 
 
Alarm Information
Null
Handling Process
A:
1. Are logs first saved in the buffer and then recorded in the CF card when the NE40E implements logging? Is there a time difference in between? Are certain logs lost in the case of unexpected power down in the logging process?
-----Logs are processed as follows: The service module first puts the logs to be recorded in the queue of the information center. When scheduled, the information center writes the logs in the queue into the log buffer and NVRAM. In the case of unexpected power down, the logs in the buffer can be obtained from the NVRAM after equipment restart, but the logs in the queue are lost.
How many logs can be saved in the queue? Are the logs in the queue forcibly written into the log buffer and NVRAM upon the execution of the display logbuffer command and then displayed in the log buffer?
-----The number of logs in the queue varies from version to version. In the latest version, V500R005C02, a maximum of 30,000 logs can be saved in the queue.
-----Running the display logbuffer command displays the contents in the linked list, which stores 512 logs by default. This command has nothing to do with the log buffer where the files are recorded. To view the log file buffer, you need to run the display logfile buffer command (in hidden mode).
Using this command, you can view the logs that have been processed in the queue. The existing queue is not affected by the command. The data about the queue can only be viewed after being processed by the information center.
2. When are the logs of the NE40E saved in the CF card?
----When the buffer is full, the logs are written into the CF card. The buffer has a space of around 33 KB.
-----Logs are recorded every half hour.
3. Does the equipment clear the log buffer before writing a log? Is it possible that the log buffer contains the same log as the one to be written?
-----Before writing a log in the log buffer, the equipment first clears the log buffer. In this manner, there can be no repeated logs in the log buffer.
4. When does the NE40E generate a log file?
-----When the logs in the .txt format reach 8 MB, a log file named by the date is generated. But it is hard to say when a log file of 8 MB is generated, which depends on the running of equipment.
If no log file of 8 MB is generated in a month, will the equipment forcibly generate a log file (and compress it at the same time)?
-----No, never. 
 
Root Cause
Null
Suggestions
Null

END