Demote log lines to improve debug log SNR.

The debug logging is verbose and sometimes hard to read.

Demote some of the boilerplate output to log level 9, to make it easier
to see the important parts on lower verbosity levels.
This commit is contained in:
Lasse Karstensen
2017-07-27 14:08:49 +02:00
committed by Felipe Zimmerle
parent 5c7892ce89
commit 5e06a67fbe
3 changed files with 9 additions and 9 deletions

View File

@@ -276,7 +276,7 @@ bool AuditLog::saveIfRelevant(Transaction *transaction, int parts) {
if ((m_status == RelevantOnlyAuditLogStatus
&& this->isRelevant(transaction->m_httpCodeReturned) == false)
&& saveAnyway == false) {
transaction->debug(5, "Return code `" +
transaction->debug(9, "Return code `" +
std::to_string(transaction->m_httpCodeReturned) + "'" \
" is not interesting to audit logs, relevant code(s): `" +
m_relevant + "'.");