mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
Moving performance logging from level 3 to level 4 to prevent it from polluting the error log
This commit is contained in:
parent
e0f1608408
commit
ed11e27e0f
@ -184,8 +184,8 @@ static void modsecurity_persist_data(modsec_rec *msr) {
|
||||
|
||||
msr->time_storage_write += time_after - time_before;
|
||||
|
||||
if (msr->txcfg->debuglog_level >= 3) {
|
||||
msr_log(msr, 3, "Recording persistent data took %" APR_TIME_T_FMT
|
||||
if (msr->txcfg->debuglog_level >= 4) {
|
||||
msr_log(msr, 4, "Recording persistent data took %" APR_TIME_T_FMT
|
||||
" microseconds.", msr->time_gc);
|
||||
}
|
||||
|
||||
@ -199,8 +199,8 @@ static void modsecurity_persist_data(modsec_rec *msr) {
|
||||
|
||||
msr->time_gc = apr_time_now() - time_after;
|
||||
|
||||
if (msr->txcfg->debuglog_level >= 3) {
|
||||
msr_log(msr, 3, "Garbage collection took %" APR_TIME_T_FMT
|
||||
if (msr->txcfg->debuglog_level >= 4) {
|
||||
msr_log(msr, 4, "Garbage collection took %" APR_TIME_T_FMT
|
||||
" microseconds.", msr->time_gc);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user