Trevor Caira wrote: >> This is intentional. NetworkManager is still a young project and these >> additional information helps to fix remaining issues because they make >> bug reports more valuable. > > There are two main issues with this. > > 1) It is self-defeating. To the average sysadmin who seeks to debug > NetworkManager issues, it rapidly becomes impossible to hone in the > actual problem itself, as one must wade through thousands of useless > debug messages. Most of the messages logged by NetworkManager are > completely orthogonal to its operation, at least in my case, so any > claim that they might enhance bug reports is specious. > > 2) It masks real issues on the system. If your log is 75% full of debug > messages, it becomes difficult to spot real problems that arise and > report to syslog. > > Additionally, especially in the case where NetworkManager ends up in a > workstation image, those who monitor logs via logcheck may end up with > MB of spam in their log report emails. > > Debug modes are good. But they should not be enabled by default, and > they should certainly be able to be turned off. > > This error in nm goes beyond bad coding style; it is dangerous to system > security as it obscures actual problems.
If you run syslog-ng (which I highly recommend), try the following in your syslog-ng.conf destination df_nm { file("/var/log/NetworkManager.log"); }; filter f_nm { match("NetworkManager"); }; log { source(s_all); filter(f_nm); destination(df_nm); }; Cheers, Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature