Re: networkmanager-0.8.2 keyfile syslog spam



On Fri, 2011-01-14 at 17:48 +0200, Leho Kraav wrote:
> Hi
> 
> Must've had a braincrash when writing the original message re details on
> specs. Running networkmanager-0.8.2 on Gentoo.
> 
> Gentoo doesn't seem to provide NetworkManager.conf, instead we have
> nm-system-settings.conf. Contents of this file doesn't seem to enable
> debugging at all:
> 
> [main]
> plugins=ifnet,keyfile
> 
> [ifnet]
> managed=true
> auto_refresh=false

The config file name changed from 0.7 -> 0.8, but NM will still read
nm-system-settings.conf for backwards compat.  The format is exactly the
same.

'man NetworkManager.conf' has more information.

Dan

> I don't think debug output should be enabled as default..
> Either way, would this work:
> 
> [logging]
> level=WARN
> 
> > From: Jos? Queiroz <zekkerj gmail com>
> > 
> > Try to turn off debugging in "/etc/NetworkManager/NetworkManager.conf".
> > 
> > By the way, which NM version are you using?
> > 
> >>
> >> Can anyone point out to me why NetworkManager is spamming my syslog with
> >> a really useless "updating: <connection-name>" message every 5 minutes?
> >>
> >> Right now I just commented it out, but should this output be moved
> >> somewhere more sensible?
> >>
> >>  1 diff --git a/system-settings/plugins/keyfile/plugin.c
> >> b/system-settings/plugins/keyfile/plugin.c
> >>  2 index 27ae0a0..1e0f7af 100644
> >>  3 --- a/system-settings/plugins/keyfile/plugin.c
> >>  4 +++ b/system-settings/plugins/keyfile/plugin.c
> >>  5 @@ -203,7 +203,7 @@ dir_changed (GFileMonitor *monitor,
> >>  6         break;
> >>  7     case G_FILE_MONITOR_EVENT_CREATED:
> >>  8     case G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT:
> >>  9 -       PLUGIN_PRINT (KEYFILE_PLUGIN_NAME, "updating %s", name);
> >> 10 +       /* PLUGIN_PRINT (KEYFILE_PLUGIN_NAME, "updating %s", name); */
> >> 11
> >> 12         if (connection) {
> >> 13             /* Update */
> 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]