mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-27 10:30:13 +01:00
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>.
This commit is contained in:
parent
6c5d883a4b
commit
eaba285375
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue