diff --git a/src/main.c b/src/main.c index 2b0085abba..d044d0e3b1 100644 --- a/src/main.c +++ b/src/main.c @@ -462,7 +462,7 @@ main (int argc, char *argv[]) { "plugins", 0, 0, G_OPTION_ARG_STRING, &plugins, "List of plugins separated by ','", "plugin1,plugin2" }, { "log-level", 0, 0, G_OPTION_ARG_STRING, &log_level, "Log level: one of [ERR, WARN, INFO, DEBUG]", "INFO" }, { "log-domain", 0, 0, G_OPTION_ARG_STRING, &log_domains, - "Log domains separated by ',': any combination of [HW,RKILL,ETHER,WIFI,BT,MB,DHCP4,DHCP6,PPP,WIFI_SCAN,IP4,IP6,AUTOIP4,DNS,VPN,SHARING,SUPPLICANT,USER_SET,SYS_SET,SUSPEND,CORE]", + "Log domains separated by ',': any combination of [NONE,HW,RKILL,ETHER,WIFI,BT,MB,DHCP4,DHCP6,PPP,WIFI_SCAN,IP4,IP6,AUTOIP4,DNS,VPN,SHARING,SUPPLICANT,USER_SET,SYS_SET,SUSPEND,CORE]", "HW,RFKILL,WIFI" }, {NULL} }; diff --git a/src/nm-logging.c b/src/nm-logging.c index a07a5da69b..06a6b1b6f1 100644 --- a/src/nm-logging.c +++ b/src/nm-logging.c @@ -39,7 +39,7 @@ #include "nm-utils.h" static guint32 log_level = LOGL_INFO; -static guint32 log_domains = LOGD_CORE | LOGD_HW; +static guint32 log_domains = LOGD_CORE | LOGD_HW | LOGD_RFKILL | LOGD_SUSPEND; typedef struct { guint32 num; @@ -55,6 +55,7 @@ static const LogDesc level_descs[] = { }; static const LogDesc domain_descs[] = { + { LOGD_NONE, "NONE" }, { LOGD_HW, "HW" }, { LOGD_RFKILL, "RFKILL" }, { LOGD_ETHER, "ETHER" },