summaryrefslogtreecommitdiff
path: root/src/systemd
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/systemd
parent0330a55851652aedd75bf56f41e8a083b2a3be82 (diff)
downloadNetworkManager-c75c51d50545a56888aa6c35244fcee5510c5697.tar.gz
logging: add new logging domain "SYSTEMD" for internal systemd logging
Diffstat (limited to 'src/systemd')
-rw-r--r--src/systemd/nm-sd-adapt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemd/nm-sd-adapt.h b/src/systemd/nm-sd-adapt.h
index 4fa0f5c18d..010c8a80f6 100644
--- a/src/systemd/nm-sd-adapt.h
+++ b/src/systemd/nm-sd-adapt.h
@@ -53,7 +53,7 @@ _slog_level_to_nm (int slevel)
const int _nm_e = (error); \
const NMLogLevel _nm_l = _slog_level_to_nm ((level)); \
\
- if (nm_logging_enabled (_nm_l, LOGD_DHCP)) { \
+ if (nm_logging_enabled (_nm_l, LOGD_SYSTEMD)) { \
const char *_nm_location = strrchr ((""file), '/'); \
\
_nm_log_impl (_nm_location ? _nm_location + 1 : (""file), (line), (func), _nm_l, LOGD_DHCP, _nm_e, ("%s"format), "libsystemd: ", ## __VA_ARGS__); \