From ce9207cd7f3963da7280ab0747a75551b204582d Mon Sep 17 00:00:00 2001 From: benthompson15 Date: Tue, 20 Jul 2021 10:22:22 -0500 Subject: [PATCH] Remove excessive logging (#2055) --- tools/passwd/secrets.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/tools/passwd/secrets.cpp b/tools/passwd/secrets.cpp index aede50f42..f7a4a31f6 100644 --- a/tools/passwd/secrets.cpp +++ b/tools/passwd/secrets.cpp @@ -601,15 +601,10 @@ bool load_encryption_keys() { if (!ret.key.empty()) { - CSPasswdLogging::get()->log(LOG_INFO,"Using encrypted passwords. Encryption key read from '%s'.", path.c_str()); + //CSPasswdLogging::get()->log(LOG_INFO,"Using encrypted passwords. Encryption key read from '%s'.", path.c_str()); this_unit.key = move(ret.key); this_unit.iv = move(ret.iv); } - else - { - CSPasswdLogging::get()->log(LOG_INFO,"Password encryption key file '%s' not found, using configured passwords as " - "plaintext.", path.c_str()); - } return ret.ok; } }