Import phosphor-logging header files from new directory
Phase2: Changing the phosphor-logging header files import from
base dir to files under phosphor-logging folder. Once all projects
import from the new dir, the files in the base dir will be deleted.
Change-Id: I7152da5f0737171b9919bd082b09aa8ce4761430
Signed-off-by: Saqib Khan <khansa@us.ibm.com>
diff --git a/bmc_state_manager.cpp b/bmc_state_manager.cpp
index 35a62e8..03026ff 100644
--- a/bmc_state_manager.cpp
+++ b/bmc_state_manager.cpp
@@ -1,6 +1,6 @@
#include <iostream>
#include <string>
-#include <log.hpp>
+#include <phosphor-logging/log.hpp>
#include "bmc_state_manager.hpp"
namespace phosphor
diff --git a/chassis_state_manager.cpp b/chassis_state_manager.cpp
index d7549a5..e6513fa 100644
--- a/chassis_state_manager.cpp
+++ b/chassis_state_manager.cpp
@@ -1,5 +1,5 @@
#include <sdbusplus/bus.hpp>
-#include <log.hpp>
+#include <phosphor-logging/log.hpp>
#include "chassis_state_manager.hpp"
namespace phosphor
diff --git a/configure.ac b/configure.ac
index 100838c..c8de079 100644
--- a/configure.ac
+++ b/configure.ac
@@ -51,7 +51,7 @@
# Check for header files.
AC_CHECK_HEADER(systemd/sd-bus.h, ,[AC_MSG_ERROR([Could not find systemd/sd-bus.h...systemd developement package required])])
AC_CHECK_HEADER(sdbusplus/server.hpp, ,[AC_MSG_ERROR([Could not find sdbusplus/server.hpp...openbmc/sdbusplus package required])])
-AC_CHECK_HEADER(log.hpp, ,[AC_MSG_ERROR([Could not find log.hpp...openbmc/phosphor-logging package required])])
+AC_CHECK_HEADER(phosphor-logging/log.hpp, ,[AC_MSG_ERROR([Could not find phosphor-logging/log.hpp...openbmc/phosphor-logging package required])])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
diff --git a/host_state_manager.cpp b/host_state_manager.cpp
index 7925b87..76542d7 100644
--- a/host_state_manager.cpp
+++ b/host_state_manager.cpp
@@ -3,7 +3,7 @@
#include <string>
#include <systemd/sd-bus.h>
#include <sdbusplus/server.hpp>
-#include <log.hpp>
+#include <phosphor-logging/log.hpp>
#include "host_state_manager.hpp"
namespace phosphor