summaryrefslogtreecommitdiff
path: root/src/nm-logging.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-03-11 16:11:04 +0100
committerThomas Haller <thaller@redhat.com>2016-03-17 15:00:48 +0100
commitc75c51d50545a56888aa6c35244fcee5510c5697 (patch)
tree5eb0379f483df1ec35e7ad22d3c60ccd86a103af /src/nm-logging.c
parent0330a55851652aedd75bf56f41e8a083b2a3be82 (diff)
downloadNetworkManager-c75c51d50545a56888aa6c35244fcee5510c5697.tar.gz
logging: add new logging domain "SYSTEMD" for internal systemd logging
Diffstat (limited to 'src/nm-logging.c')
-rw-r--r--src/nm-logging.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nm-logging.c b/src/nm-logging.c
index 704c77c969..935b34a8e3 100644
--- a/src/nm-logging.c
+++ b/src/nm-logging.c
@@ -111,7 +111,7 @@ static struct {
char *logging_domains_to_string;
const LogLevelDesc level_desc[_LOGL_N];
-#define _DOMAIN_DESC_LEN 36
+#define _DOMAIN_DESC_LEN 37
/* Would be nice to use C99 flexible array member here,
* but that feature doesn't seem well supported. */
const LogDesc domain_desc[_DOMAIN_DESC_LEN];
@@ -164,6 +164,7 @@ static struct {
{ LOGD_DCB, "DCB" },
{ LOGD_DISPATCH, "DISPATCH" },
{ LOGD_AUDIT, "AUDIT" },
+ { LOGD_SYSTEMD, "SYSTEMD" },
{ 0, NULL }
/* keep _DOMAIN_DESC_LEN in sync */
},