Why are executed commands recorded in log files but cannot be displayed by the display logbuffer command

Information in the log buffer differs from information in log files because they use different channels of the information center. Log files record more information than the log buffer. The log buffer has a higher information level and records more important than log files. As logs have a lower information level, they are not saved in the log buffer.

You can use the following command to set a lower level for the logs sent to the log buffer:
[HUAWEI] info-center source SHELL channel logbuffer log level informationalRun some commands and use the display logbuffer command to check the logs in the log buffer. These commands will be displayed.

Scroll to top