platform-mc: Correct Created Inventory message level
Currently messages like
"""
Terminus ID X: Created Inventory path <...>
"""
are outputted with the error log level, which is wrong. Change log
level of these messages to informational.
Change-Id: I4ad811ca77e6ce6374a0c70d4d5f8571cdc8d450
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
diff --git a/platform-mc/terminus.cpp b/platform-mc/terminus.cpp
index 2401a24..fdaacf4 100644
--- a/platform-mc/terminus.cpp
+++ b/platform-mc/terminus.cpp
@@ -220,8 +220,8 @@
if (createInventoryPath(terminusName))
{
- lg2::error("Terminus ID {TID}: Created Inventory path {PATH}.", "TID",
- tid, "PATH", inventoryPath);
+ lg2::info("Terminus ID {TID}: Created Inventory path {PATH}.", "TID",
+ tid, "PATH", inventoryPath);
}
addNextSensorFromPDRs();