mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
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:
committed by
Felipe Zimmerle
parent
5c7892ce89
commit
5e06a67fbe
@@ -245,7 +245,7 @@ JSON::JSON(Transaction *transaction) : m_transaction(transaction) {
|
||||
};
|
||||
|
||||
|
||||
debug(4, "JSON parser initialization");
|
||||
debug(9, "JSON parser initialization");
|
||||
|
||||
/**
|
||||
* Prefix and current key are initially empty
|
||||
@@ -269,7 +269,7 @@ JSON::JSON(Transaction *transaction) : m_transaction(transaction) {
|
||||
|
||||
|
||||
JSON::~JSON() {
|
||||
debug(4, "JSON: Cleaning up JSON results");
|
||||
debug(9, "JSON: Cleaning up JSON results");
|
||||
yajl_free(m_data.handle);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user