Network Manager is too verbose in syslog
Scott Kitterman
ubuntu at kitterman.com
Fri Jul 7 16:08:07 UTC 2006
On Friday 07 July 2006 11:46, Mario Vukelic wrote:
> On Fri, 2006-07-07 at 22:51 +1200, Michal Ludvig wrote:
> > tail -f /var/log/syslog/messages | grep whatever_interests_me
>
> Nice when you know what interests you, unfortunately in the case of
> network-manager there seem to be a hundred different log messages that
> don't interest me, and I I have no idea which do :)
In that case there is:
tail -f /var/log/syslog/messages | grep -v whatever_doesn't_interest_you
You can use regular expressions and egrep to get complex paterns or you can
pipe to multiple greps to get rid of a series of lines that don't interest
you:
tail -f /var/log/syslog/messages | grep -v don't_care_1 | grep -v don't_care_2
Scott K
More information about the ubuntu-users
mailing list