A router’s log can save your life. Well, at the least, it can save you time and headaches when troubleshooting problems. However, in the heat of battle, old messages in the log can get in the way. After making a change to the router’s configuration, for instance, it is easier to monitor only subsequent messages in the log. Clearing the log is simple.
To clear the router’s log, use this command in enable mode:
clear logging