elog: Add File Path

Add the File Path property to the error log entries. This can then
be used to retrieve the file for external analysis, such as via
the Redfish URI field.

This property doesn't need to be persisted since the path is known
when deserialization is done. Therefore populate the value there.

Tested: Verified the path was set with the path to the elog entry
        file and the value was re-populated after restarting the
        logging service.
root@openbmc:~# busctl --no-pager get-property xyz.openbmc_project.Logging \
  /xyz/openbmc_project/logging/entry/883 xyz.openbmc_project.Common.FilePath Path
s "/var/lib/phosphor-logging/errors/883"

Change-Id: I19f610193e7f9e6ff698332fe3b71bc5391e6460
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/elog_entry.hpp b/elog_entry.hpp
index 5bc4882..b64e1ba 100644
--- a/elog_entry.hpp
+++ b/elog_entry.hpp
@@ -7,6 +7,7 @@
 #include <sdbusplus/bus.hpp>
 #include <sdbusplus/server/object.hpp>
 #include <xyz/openbmc_project/Association/Definitions/server.hpp>
+#include <xyz/openbmc_project/Common/FilePath/server.hpp>
 
 namespace phosphor
 {
@@ -17,7 +18,8 @@
     sdbusplus::xyz::openbmc_project::Logging::server::Entry,
     sdbusplus::xyz::openbmc_project::Object::server::Delete,
     sdbusplus::xyz::openbmc_project::Association::server::Definitions,
-    sdbusplus::xyz::openbmc_project::Software::server::Version>;
+    sdbusplus::xyz::openbmc_project::Software::server::Version,
+    sdbusplus::xyz::openbmc_project::Common::server::FilePath>;
 
 using AssociationList =
     std::vector<std::tuple<std::string, std::string, std::string>>;