commit | 8659851c89d05283552c97ef810a9a9d10546950 | [log] [tgz] |
---|---|---|
author | Yunyun Lin <linyuny@google.com> | Fri Feb 11 10:41:56 2022 -0800 |
committer | linyy1106 <linyuny@google.com> | Tue Jun 07 10:01:52 2022 -0700 |
tree | 25a7dd0502dcf96bd40029f7ecb84e8f06126ac0 | |
parent | 6c71b0f9fe1cd604dd894b45acb9870cc47b27b5 [diff] |
google-ipmi-sys: Move Warning to debug statement Google-Bug-Id: 161573162 Signed-off-by: Yunyun Lin <linyuny@google.com> Change-Id: I9e338347be4d9f5ea021fe627737e3043ea05dce
diff --git a/util.cpp b/util.cpp index 933b01b..2540fe9 100644 --- a/util.cpp +++ b/util.cpp
@@ -61,7 +61,8 @@ if (!ifs.is_open()) { - std::fprintf(stderr, "Unable to open file %s.\n", fileName.c_str()); + auto msg = std::string("Unable to open file ") + fileName.c_str(); + log<level::DEBUG>(msg.c_str()); } else {