Disable dlog on docker
authorSangwan Kwon <sangwan.kwon@samsung.com>
Tue, 25 Feb 2020 05:17:49 +0000 (14:17 +0900)
committer권상완/Security 2Lab(SR)/Engineer/삼성전자 <sangwan.kwon@samsung.com>
Wed, 26 Feb 2020 04:22:05 +0000 (13:22 +0900)
Signed-off-by: Sangwan Kwon <sangwan.kwon@samsung.com>
src/vist/rmi/impl/systemd-socket.hpp

index 7902834..1a1cc59 100644 (file)
 
 #include <vist/exception.hpp>
 #include <vist/logger.hpp>
+
+#ifdef TIZEN
 #include <vist/logger/dlog.hpp>
+#endif
 
 #include <sys/types.h>
 #include <sys/socket.h>
@@ -32,8 +35,9 @@ class SystemdSocket {
 public:
        static int Create(const std::string& path)
        {
+#ifdef TIZEN
                LogStream::Init(std::make_shared<Dlog>());
-
+#endif
                static int fds = -1;
 
                if (fds == -1)