summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2015-04-23 13:39:17 -0500
committerLubomir Rintel <lkundrak@v3.sk>2015-05-28 12:45:51 +0200
commit197bd601df0ae4404209d4595019ff5141b1e5f6 (patch)
tree2a25efb86e78f52d2a2ceab5126d72712cc67fdd
parent885273ce7f69e8dfc1c459821b6f367d41bf0c25 (diff)
downloadNetworkManager-197bd601df0ae4404209d4595019ff5141b1e5f6.tar.gz
core: change activation failure messages to debug level
Otherwise any user with network control privileges can spam the logs. (cherry picked from commit 8a5910c25cd0102d36a9adbb7a2c831e4fa5e046)
-rw-r--r--src/nm-manager.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nm-manager.c b/src/nm-manager.c
index 3356bef51c..47f5add741 100644
--- a/src/nm-manager.c
+++ b/src/nm-manager.c
@@ -2947,9 +2947,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);