reduce journal output from vpd app
The bigger systems have a lot of vpd which causes these logs to fill the
journal
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Ibca4224f7ed8a7b1d28f6585a6c83cf1fc2bb1bd
diff --git a/ibm_vpd_app.cpp b/ibm_vpd_app.cpp
index 377d15b..b4217c5 100644
--- a/ibm_vpd_app.cpp
+++ b/ibm_vpd_app.cpp
@@ -1172,8 +1172,6 @@
CLI11_PARSE(app, argc, argv);
- cout << "Parser launched with file: " << file << "\n";
-
// PEL severity should be ERROR in case of any system VPD failure
if (file == systemVpdFilePath)
{
@@ -1217,7 +1215,6 @@
{
// Translate udev path to a generic /sys/bus/.. file path.
udevToGenericPath(file);
- cout << "Path after translation: " << file << "\n";
if ((js["frus"].find(file) != js["frus"].end()) &&
(file == systemVpdFilePath))
@@ -1233,7 +1230,6 @@
}
if (js["frus"].find(file) == js["frus"].end())
{
- cout << "Device path not in JSON, ignoring" << endl;
return 0;
}
@@ -1318,4 +1314,4 @@
}
return rc;
-}
\ No newline at end of file
+}