summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/logging/nm-logging.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/logging/nm-logging.c b/src/logging/nm-logging.c
index 17428d3615..864e04d0b8 100644
--- a/src/logging/nm-logging.c
+++ b/src/logging/nm-logging.c
@@ -451,9 +451,10 @@ nm_log_handler (const gchar *log_domain,
nm_level = LOGL_INFO;
break;
case G_LOG_LEVEL_INFO:
- /* we log INFO with syslog priority LOG_INFO, but it corresponds
- * to nm_level LOGL_DEBUG, because it will be suppressed by default
- * by glib similar to G_LOG_LEVEL_DEBUG.
+ /* we log G_LOG_LEVEL_INFO with syslog priority LOG_INFO, but it corresponds
+ * to nm_level LOGL_DEBUG, because glib considers G_LOG_LEVEL_INFO as one of
+ * INFO_LEVELS, which are filtered in glib by G_LOG_LEVEL_DEBUG. So, this is
+ * more of a LOGL_DEBUG level.
* */
syslog_priority = LOG_INFO;
nm_level = LOGL_DEBUG;