Update Journal Variable Names
Journal entry variable names should be uppercase.
https://www.freedesktop.org/software/systemd/man/sd_journal_print.html
Change-Id: I074955883c67173c9720f094d494addb85c85e7a
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/watch.cpp b/watch.cpp
index cec97af..270d1dc 100644
--- a/watch.cpp
+++ b/watch.cpp
@@ -39,7 +39,7 @@
if (!fs::is_directory(path))
{
log<level::ERR>("Watch directory doesn't exist",
- entry("dir=%s", path.c_str()));
+ entry("DIR=%s", path.c_str()));
elog<InternalFailure>();
}
@@ -62,7 +62,7 @@
{
// Failed to add to event loop
log<level::ERR>("Error occurred during the sd_event_add_io call",
- entry("rc=%d", rc));
+ entry("RC=%d", rc));
elog<InternalFailure>();
}
}