Command Reference Syslog Commands
8.13 logging filter direction
Use this command to filter the log messages destined to a certain direction. Use the no form of this
command to restore the default setting.
logging filter direction { all | buffer | file | server | terminal }
no logging filter direction { all | buffer | file | server | terminal }
Log messages destined to all directions are filtered, including
console, VTY terminal, log buffer, log file and log server.
Log messages destined to the log buffer are filtered, including log
messages displayed by running the show logging command.
Log messages destined to the log file are filtered.
Log messages destined to the log server are filtered.
Log messages destined to the console and the VTY terminal
(including Telnet and SSH).
Log messages destined to all directions are filtered by default.
Global configuration mode
In general, log messages destined to all directions are filtered, including console, VTY terminal, log
buffer, log file and log server. If you want to filter log messages destined to a certain direction, the
terminal for instance, configure the terminal parameter.
The following example filters log messages destined to the terminal (including the console and the
VTY terminal).
Ruijie(config)# logging filter direction terminal