summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-05-12 16:48:57 +0200
committerThomas Haller <thaller@redhat.com>2017-05-15 17:38:47 +0200
commiteaba285375248a691aaa896fecdd991ad695c1b1 (patch)
treee94add04356c9fea0718d84fb2365177f7086136
parent6c5d883a4bd9ef167ee4fe8ec2b0187c7bc77142 (diff)
downloadNetworkManager-eaba285375248a691aaa896fecdd991ad695c1b1.tar.gz
device: downgrade logging messages about (non) pending action
Adding/Removing a pending action with assert_not_yet_pending/ assert_is_pending means that we expect that no action is taken. Downgrade the logging level in those cases to <trace>.
-rw-r--r--src/devices/nm-device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c
index 028808cb44..f26d434e9b 100644
--- a/src/devices/nm-device.c
+++ b/src/devices/nm-device.c
@@ -11765,7 +11765,7 @@ nm_device_add_pending_action (NMDevice *self, const char *action, gboolean asser
count + g_slist_length (iter), action);
g_return_val_if_reached (FALSE);
} else {
- _LOGD (LOGD_DEVICE, "add_pending_action (%d): '%s' already pending (expected)",
+ _LOGT (LOGD_DEVICE, "add_pending_action (%d): '%s' already pending (expected)",
count + g_slist_length (iter), action);
}
return FALSE;
@@ -11826,7 +11826,7 @@ nm_device_remove_pending_action (NMDevice *self, const char *action, gboolean as
_LOGW (LOGD_DEVICE, "remove_pending_action (%d): '%s' not pending", count, action);
g_return_val_if_reached (FALSE);
} else
- _LOGD (LOGD_DEVICE, "remove_pending_action (%d): '%s' not pending (expected)", count, action);
+ _LOGT (LOGD_DEVICE, "remove_pending_action (%d): '%s' not pending (expected)", count, action);
return FALSE;
}