PEL: Add HostNotifier related debug traces

Add some debug traces that make it easier to debug issues in the code
paths that send PELs to the host.  They will only show up when the
journald conf files are modified to turn on debug journal entries.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I1ad6b584bed8c6b58aee94ac2178c4d0b6e3e5d8
diff --git a/extensions/openpower-pels/repository.cpp b/extensions/openpower-pels/repository.cpp
index 3bf3cb0..2de3ee9 100644
--- a/extensions/openpower-pels/repository.cpp
+++ b/extensions/openpower-pels/repository.cpp
@@ -168,10 +168,19 @@
     auto pel = findPEL(id);
     if (pel != _pelAttributes.end())
     {
+        log<level::DEBUG>("Removing PEL from repository",
+                          entry("PEL_ID=0x%X", pel->first.pelID.id),
+                          entry("OBMC_LOG_ID=%d", pel->first.obmcID.id));
         fs::remove(pel->second.path);
         _pelAttributes.erase(pel);
 
-        processDeleteCallbacks(id.pelID.id);
+        processDeleteCallbacks(pel->first.pelID.id);
+    }
+    else
+    {
+        log<level::DEBUG>("Could not find PEL to remove",
+                          entry("PEL_ID=0x%X", id.pelID.id),
+                          entry("OBMC_LOG_ID=%d", id.obmcID.id));
     }
 }