diff options
author | Dan Williams <dcbw@redhat.com> | 2014-11-07 14:50:46 -0600 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2014-11-07 14:51:50 -0600 |
commit | a5eb556d8cbde3414075aa1fe981e897d7441b3e (patch) | |
tree | f60c65e0bad85440585bef63a7bfeac76f4ecda5 | |
parent | 1f61cb82de73e750e4c5f515a492c2acde23153e (diff) | |
download | NetworkManager-a5eb556d8cbde3414075aa1fe981e897d7441b3e.tar.gz |
dhcp: demote DHCP client registration message to 'debug' level
Was supposed to be that level originally.
-rw-r--r-- | src/dhcp-manager/nm-dhcp-manager.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/dhcp-manager/nm-dhcp-manager.c b/src/dhcp-manager/nm-dhcp-manager.c index 3147980b4b..419bdafbcb 100644 --- a/src/dhcp-manager/nm-dhcp-manager.c +++ b/src/dhcp-manager/nm-dhcp-manager.c @@ -95,8 +95,6 @@ _nm_dhcp_client_register (GType gtype, desc->get_path_func = get_path_func; desc->get_lease_configs_func = get_lease_configs_func; client_descs = g_slist_prepend (client_descs, desc); - - nm_log_info (LOGD_DHCP, "Registered DHCP client '%s'", name); } static ClientDesc * @@ -389,6 +387,7 @@ nm_dhcp_manager_init (NMDhcpManager *self) NMConfig *config = nm_config_get (); const char *client; GError *error = NULL; + GSList *iter; /* Client-specific setup */ client = nm_config_get_dhcp_client (config); @@ -409,6 +408,13 @@ nm_dhcp_manager_init (NMDhcpManager *self) NULL, (GDestroyNotify) g_object_unref); g_assert (priv->clients); + + for (iter = client_descs; iter; iter = iter->next) { + ClientDesc *desc = iter->data; + + nm_log_dbg (LOGD_DHCP, "Registered DHCP client '%s' (%s)", + desc->name, g_type_name (desc->gtype)); + } } static void |