summaryrefslogtreecommitdiffstats
path: root/src/common/CMakeLists.txt
diff options
context:
space:
mode:
author胡玮文 <huww98@outlook.com>2021-03-03 08:01:56 +0100
committer胡玮文 <huww98@outlook.com>2021-03-09 13:14:00 +0100
commitf7a4b8c5944e5575f5eaeeed771483d78bd0c343 (patch)
tree510267c5e80964f6c992eb91048e36c86626c832 /src/common/CMakeLists.txt
parentMerge pull request #39226 from rhcs-dashboard/host-maintenance-feature (diff)
downloadceph-f7a4b8c5944e5575f5eaeeed771483d78bd0c343.tar.xz
ceph-f7a4b8c5944e5575f5eaeeed771483d78bd0c343.zip
common: enable sending local logs to journald
Enable ceph daemons to directly send logs to journald via unix domain socket. While sending logs, metadata like priority, thread, timestamp is sent as structured data. And can be queried by journalctl. Note that I don't use libsystemd because I want the implementation to be as efficient as possible. Signed-off-by: 胡玮文 <huww98@outlook.com>
Diffstat (limited to 'src/common/CMakeLists.txt')
-rw-r--r--src/common/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
index 498e2dd2de0..d31c74b273f 100644
--- a/src/common/CMakeLists.txt
+++ b/src/common/CMakeLists.txt
@@ -25,6 +25,7 @@ set(common_srcs
Graylog.cc
HTMLFormatter.cc
HeartbeatMap.cc
+ Journald.cc
LogClient.cc
LogEntry.cc
ostream_temp.cc