Problem
You have turned on system logging and are collecting messages from all facilities in your logging files. You are not interested in the messages from one or two of the facilities and would like to stop messages from these facilities without configuring each priority.
Solution
Disable the facilities that you don't want showing up in your logfile:
[edit system syslog file messages ] aviva@router1# set any notice aviva@router1# set interactive none
Discussion
When you want to capture logging messages from all sources on the router, you can configure this easily with a single command that specifies the facility as any. When you want to capture all facilities but one or two, the quickest way is to disable the facilities that you are not interested in. In this case, you are not interested in collecting any of the commands that users type at the CLI, but you do want any other commands. These two commands are a shortcut that saves you from having to type 10 commands, one for each facility you want to enable.
Router Configuration and File Management
Basic Router Security and Access Control
IPSec
SNMP
Logging
NTP
Router Interfaces
IP Routing
Routing Policy and Firewall Filters
RIP
IS-IS
OSPF
BGP
MPLS
VPNs
IP Multicast