Can I tail the log on a Cisco Router?

Solution 1:

Sure, run logging monitor debug (or any other level) then term mon.
Log will be displayed on your (and only your) telnet/ssh session.
If you are using the console use logging console.

Solution 2:

Sending to syslog is the better way to do, but here's a trick you might find useful:

You can do "show logging | begin regexp" and it will show you the log starting at any lines matching that regexp.

That way, if you have your logs being time-stamped (you do, right?) You can something like:

show logging | begin ^Sep 3*

(note there is a double space after "Sep" but this text editor eats it) and it will show you all logs starting from September 3rd, for example.

Requires some experimentation to get it right. :)