Remove debug printf of VPD keys
The output from these printfs clog up the journal. If
needed then we should move them to phosphor logging and
make debug.
Change-Id: I26600a0d13f834da1c35d914285b13a3bc2eea4a
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
diff --git a/frup.cpp b/frup.cpp
index f6ff8b4..7251492 100644
--- a/frup.cpp
+++ b/frup.cpp
@@ -762,18 +762,21 @@
{
strncpy(bin_in_ascii, "0x", 2);
}
-
+#if IPMI_FRU_PARSER_DEBUG
printf ("_append_to_dict: VPD Key = [%s] : Type Code = [BINARY] :"
" Len = [%d] : Val = [%s]\n",
vpd_key_names [vpd_key_id], vpd_val_len, bin_in_ascii);
+#endif
info[vpd_key_id] = std::make_pair(vpd_key_names[vpd_key_id],
bin_in_ascii);
break;
case 3:
+#if IPMI_FRU_PARSER_DEBUG
printf ("_append_to_dict: VPD Key = [%s] : Type Code=[ASCII+Latin]"
" : Len = [%d] : Val = [%s]\n",
vpd_key_names [vpd_key_id], vpd_val_len, &vpd_key_val[1]);
+#endif
info[vpd_key_id] = std::make_pair(
vpd_key_names[vpd_key_id],
std::string(vpd_key_val + 1,