mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-09 09:28:06 +02:00
logging: allow OLPC mesh logging to be used
This commit is contained in:
parent
5eeef57581
commit
f354bd3d9f
2 changed files with 2 additions and 1 deletions
|
|
@ -78,6 +78,7 @@ static const LogDesc domain_descs[] = {
|
||||||
{ LOGD_SUSPEND, "SUSPEND" },
|
{ LOGD_SUSPEND, "SUSPEND" },
|
||||||
{ LOGD_CORE, "CORE" },
|
{ LOGD_CORE, "CORE" },
|
||||||
{ LOGD_DEVICE, "DEVICE" },
|
{ LOGD_DEVICE, "DEVICE" },
|
||||||
|
{ LOGD_OLPC_MESH, "OLPC" },
|
||||||
{ 0, NULL }
|
{ 0, NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -462,7 +462,7 @@ main (int argc, char *argv[])
|
||||||
{ "plugins", 0, 0, G_OPTION_ARG_STRING, &plugins, "List of plugins separated by ','", "plugin1,plugin2" },
|
{ "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-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-domain", 0, 0, G_OPTION_ARG_STRING, &log_domains,
|
||||||
"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,DEVICE]",
|
"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,DEVICE,OLPC]",
|
||||||
"HW,RFKILL,WIFI" },
|
"HW,RFKILL,WIFI" },
|
||||||
{NULL}
|
{NULL}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue