diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2013-02-19 12:54:56 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2013-02-19 13:13:57 +0100 |
commit | f9583cb5304ba5ecd862cdf214c669f7babdfe66 (patch) | |
tree | 78ab9b3535d4db8b2efc12e7a73e7d2f1772cabe /src/mm-plugin-manager.c | |
parent | 37ddfe202eb138ab50140cc0e2a0309092547bbf (diff) |
core: update logging levels of several messages
'info' log level, the default if none specified, included too many logs which
aren't that useful, to try to minimize the noise we produce by default.
Diffstat (limited to 'src/mm-plugin-manager.c')
-rw-r--r-- | src/mm-plugin-manager.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mm-plugin-manager.c b/src/mm-plugin-manager.c index 42dcb3ff..3cd0e01a 100644 --- a/src/mm-plugin-manager.c +++ b/src/mm-plugin-manager.c @@ -505,13 +505,13 @@ build_plugins_list (MMPluginManager *self, if (self->priv->generic) list = g_list_append (list, g_object_ref (self->priv->generic)); - mm_info ("(Plugin Manager) [%s] Found '%u' plugins to try...", - g_udev_device_get_name (port), - g_list_length (list)); + mm_dbg ("(Plugin Manager) [%s] Found '%u' plugins to try...", + g_udev_device_get_name (port), + g_list_length (list)); for (l = list; l; l = g_list_next (l)) { - mm_info ("(Plugin Manager) [%s] Will try with plugin '%s'", - g_udev_device_get_name (port), - mm_plugin_get_name (MM_PLUGIN (l->data))); + mm_dbg ("(Plugin Manager) [%s] Will try with plugin '%s'", + g_udev_device_get_name (port), + mm_plugin_get_name (MM_PLUGIN (l->data))); } return list; @@ -744,7 +744,7 @@ load_plugins (MMPluginManager *self, if (!plugin) continue; - mm_info ("Loaded plugin '%s'", mm_plugin_get_name (plugin)); + mm_dbg ("Loaded plugin '%s'", mm_plugin_get_name (plugin)); if (g_str_equal (mm_plugin_get_name (plugin), MM_PLUGIN_GENERIC_NAME)) /* Generic plugin */ @@ -768,8 +768,8 @@ load_plugins (MMPluginManager *self, goto out; } - mm_info ("Successfully loaded %u plugins", - g_list_length (self->priv->plugins) + !!self->priv->generic); + mm_dbg ("Successfully loaded %u plugins", + g_list_length (self->priv->plugins) + !!self->priv->generic); out: if (dir) |