summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-10-05 15:40:12 +0200
committerThomas Haller <thaller@redhat.com>2016-10-06 13:31:34 +0200
commit921f6a9c3497163c1297c91370740360c7aeddec (patch)
tree93c60bef581ff52459a51d495eaff4943828f29a
parent1098abe8c852d6bc76b960113838389555e3b532 (diff)
downloadNetworkManager-921f6a9c3497163c1297c91370740360c7aeddec.tar.gz
iface-helper: pass on the logging level to nm-iface-helper
-rw-r--r--src/devices/nm-device.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c
index 5fd0a187f7..941f9ade84 100644
--- a/src/devices/nm-device.c
+++ b/src/devices/nm-device.c
@@ -10977,6 +10977,12 @@ nm_device_spawn_iface_helper (NMDevice *self)
g_ptr_array_add (argv, logging_backend);
}
+ g_ptr_array_add (argv, g_strdup ("--log-level"));
+ g_ptr_array_add (argv, g_strdup (nm_logging_level_to_string ()));
+
+ g_ptr_array_add (argv, g_strdup ("--log-domains"));
+ g_ptr_array_add (argv, g_strdup (nm_logging_domains_to_string ()));
+
dhcp4_address = find_dhcp4_address (self);
method = nm_utils_get_ip_config_method (connection, NM_TYPE_SETTING_IP4_CONFIG);