log entry to journal when rebooting bmc

Rebooting the BMC without user interaction is a big deal so lets log an
entry in the journal for tracking purposes when it happens

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Ia5b44334236c65137c4465f5803561fa91b57bf1
diff --git a/ibm_vpd_app.cpp b/ibm_vpd_app.cpp
index 04bcbba..1c0b17e 100644
--- a/ibm_vpd_app.cpp
+++ b/ibm_vpd_app.cpp
@@ -19,6 +19,7 @@
 #include <iostream>
 #include <iterator>
 #include <nlohmann/json.hpp>
+#include <phosphor-logging/log.hpp>
 
 using namespace std;
 using namespace openpower::vpd;
@@ -32,6 +33,7 @@
 using namespace openpower::vpd::memory::parser;
 using namespace openpower::vpd::parser::interface;
 using namespace openpower::vpd::exceptions;
+using namespace phosphor::logging;
 
 static const deviceTreeMap deviceTreeSystemTypeMap = {
     {RAINIER_2U, "conf@aspeed-bmc-ibm-rainier-2u.dtb"},
@@ -359,6 +361,7 @@
 {
     // set env and reboot and break.
     executeCmd("/sbin/fw_setenv", key, value);
+    log<level::INFO>("Rebooting BMC to pick up new device tree");
     // make dbus call to reboot
     auto bus = sdbusplus::bus::new_default_system();
     auto method = bus.new_method_call(