Network Manager is too verbose in syslog

Alexander Skwar listen at alexander.skwar.name
Fri Jul 7 06:21:07 UTC 2006


Mario Vukelic schrieb:
> On Thu, 2006-07-06 at 21:30 +0200, Alexander Skwar wrote:
>> it's possible to filter out messages
>> coming from a certain program 
> 
> Thanks for the info. Do you happen to know whether finer-grained
> filtering is possible? Because of my wlan problem, I#d like to only
> filter the unimportant messages

man 5 syslog-ng.conf

FILTERS
        You can create filters using the filter keyword:

        filter <filtername> { expression; };

        Where expression is a simple boolean expression.  You  can  use  "and",
        "or" and "not" to connect builtin functions. Functions can be one of:

        * facility(list of comma seperated facility names)

        * level(list of comma seperated priority nammes OR a range separated by
        "..")

        * program(regexp to match program name)

        * host(regexp to match hostname)

        * match(regexp to match message)




The "match" might be of interest to you. But the best approach would
be, if Network Manager would use different "level"s to log different
types of messages.

But nm doesn't do that.

Alexander Skwar
-- 
Vaterland nennt der Staat immer dann, wenn er sich anschickt, auf
Menschenmord auszugehen.
                 -- Friedrich Dürrenmatt (Romulus der Große)




More information about the ubuntu-users mailing list