Update log manager busname to match its systemd unit file
Change-Id: I9431b7d3df37fe92adaa9acb5172c8cfcdb38e4e
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/configure.ac b/configure.ac
index 8ed1a3b..eef6ce9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -46,8 +46,8 @@
AC_SUBST([OESDK_TESTCASE_FLAGS], [$testcase_flags])
)
-AC_DEFINE(BUSNAME, "xyz.openbmc_project.Logging.Internal.Manager", [The DBus busname to own.])
-AC_DEFINE(OBJ, "/xyz/openbmc_project/Logging/Internal", [The DBus object path.])
+AC_DEFINE(BUSNAME_LOGGING, "xyz.openbmc_project.Logging", [The log manager DBus busname to own.])
+AC_DEFINE(OBJ_INTERNAL, "/xyz/openbmc_project/Logging/Internal/Manager", [The private log manager DBus object path.])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([Makefile test/Makefile])
AC_OUTPUT
diff --git a/log_manager_main.cpp b/log_manager_main.cpp
index 21c13ae..c5e426b 100644
--- a/log_manager_main.cpp
+++ b/log_manager_main.cpp
@@ -10,8 +10,8 @@
try {
auto manager = phosphor::logging::Manager(
sdbusplus::bus::new_system(),
- BUSNAME,
- OBJ);
+ BUSNAME_LOGGING,
+ OBJ_INTERNAL);
manager.run();
exit(EXIT_SUCCESS);
}