mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-31 06:40:11 +01:00
core: change activation failure messages to debug level
Otherwise any user with network control privileges can spam the logs.
This commit is contained in:
parent
2d527b30ff
commit
8a5910c25c
1 changed files with 3 additions and 3 deletions
|
|
@ -2971,9 +2971,9 @@ _internal_activation_failed (NMManager *self,
|
|||
NMActiveConnection *active,
|
||||
const char *error_desc)
|
||||
{
|
||||
nm_log_warn (LOGD_CORE, "Failed to activate '%s': %s",
|
||||
nm_connection_get_id (nm_active_connection_get_connection (active)),
|
||||
error_desc);
|
||||
nm_log_dbg (LOGD_CORE, "Failed to activate '%s': %s",
|
||||
nm_connection_get_id (nm_active_connection_get_connection (active)),
|
||||
error_desc);
|
||||
|
||||
if (nm_active_connection_get_state (active) <= NM_ACTIVE_CONNECTION_STATE_ACTIVATED) {
|
||||
nm_active_connection_set_state (active, NM_ACTIVE_CONNECTION_STATE_DEACTIVATING);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue