log_manager: Use sdbus++

Change-Id: Id2ad6a75b6ee3f7226c7cfd274dba24de89f9363
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/log_manager_main.cpp b/log_manager_main.cpp
new file mode 100644
index 0000000..21c13ae
--- /dev/null
+++ b/log_manager_main.cpp
@@ -0,0 +1,22 @@
+#include "config.h"
+#include "log_manager.hpp"
+#include <sdbusplus/bus.hpp>
+#include <cstdlib>
+#include <iostream>
+#include <exception>
+
+int main(int argc, char *argv[])
+{
+    try {
+        auto manager = phosphor::logging::Manager(
+                sdbusplus::bus::new_system(),
+                BUSNAME,
+                OBJ);
+        manager.run();
+        exit(EXIT_SUCCESS);
+    }
+    catch (const std::exception &e) {
+        std::cerr << e.what() << std::endl;
+    }
+    exit(EXIT_FAILURE);
+}