fault-monitor: Print log object creation only in debug
Not every log object is a fault that has necessary associations to
perform action. Therefore it is confusing to see messages like this:
"""
phosphor-fru-fault-monitor[xxx]: /xyz/openbmc_project/logging/entry/xxx
created
"""
for every created log object.
Change log level of this message to debug to fix the issue.
Change-Id: I6dad0f7e9f98f20eba71b92b4da8423d4eab24c5
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
diff --git a/fault-monitor/fru-fault-monitor.cpp b/fault-monitor/fru-fault-monitor.cpp
index e67ffb4..7b323b2 100644
--- a/fault-monitor/fru-fault-monitor.cpp
+++ b/fault-monitor/fru-fault-monitor.cpp
@@ -155,7 +155,7 @@
// Nothing else shows when a specific error log
// has been created. Do it here.
- lg2::info("{PATH} created", "PATH", objectPath);
+ lg2::debug("{PATH} created", "PATH", objectPath);
auto attr = iter->second.find("Associations");
if (attr == iter->second.end())