control: Record configuration load/reload paths

Add `main` recorder entries to the flight recorder when the
configurations are loaded or reloaded thru SIGHUP.

Change-Id: Ib720f6342a8579e2fc0df30e8975dd140dba28e2
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
diff --git a/control/json/manager.hpp b/control/json/manager.hpp
index c807252..4c8c72c 100644
--- a/control/json/manager.hpp
+++ b/control/json/manager.hpp
@@ -23,6 +23,7 @@
 #include "power_state.hpp"
 #include "profile.hpp"
 #include "sdbusplus.hpp"
+#include "utils/flight_recorder.hpp"
 #include "zone.hpp"
 
 #include <fmt/format.h>
@@ -208,6 +209,9 @@
                                          T::confFileName, isOptional);
         if (!confFile.empty())
         {
+            FlightRecorder::instance().log(
+                "main", fmt::format("Loading configuration from {}",
+                                    confFile.string()));
             for (const auto& entry : fan::JsonConfig::load(confFile))
             {
                 if (entry.contains("profiles"))
@@ -243,6 +247,9 @@
                 fmt::format("Configuration({}) loaded successfully",
                             T::confFileName)
                     .c_str());
+            FlightRecorder::instance().log(
+                "main", fmt::format("Configuration({}) loaded successfully",
+                                    T::confFileName));
         }
         return config;
     }