From 26f9f513c09d7f44d23f0a17dbd945a57a8d6043 Mon Sep 17 00:00:00 2001 From: Sangwan Kwon Date: Mon, 24 Feb 2020 13:46:19 +0900 Subject: [PATCH] Enable dlog on on-demand startup Signed-off-by: Sangwan Kwon --- src/vist/rmi/impl/systemd-socket.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/vist/rmi/impl/systemd-socket.hpp b/src/vist/rmi/impl/systemd-socket.hpp index 38dd2d2..7902834 100644 --- a/src/vist/rmi/impl/systemd-socket.hpp +++ b/src/vist/rmi/impl/systemd-socket.hpp @@ -16,8 +16,9 @@ #pragma once -#include #include +#include +#include #include #include @@ -31,6 +32,8 @@ class SystemdSocket { public: static int Create(const std::string& path) { + LogStream::Init(std::make_shared()); + static int fds = -1; if (fds == -1) -- 2.34.1