mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-10-06 06:16:51 +03:00
Fix the debug log level merge function
This commit is contained in:
@@ -371,8 +371,10 @@ class RulesProperties {
|
|||||||
|
|
||||||
if (from->m_debugLog && to->m_debugLog &&
|
if (from->m_debugLog && to->m_debugLog &&
|
||||||
from->m_debugLog->isLogLevelSet()) {
|
from->m_debugLog->isLogLevelSet()) {
|
||||||
to->m_debugLog->setDebugLogLevel(
|
if (to->m_debugLog->isLogFileSet() == false) {
|
||||||
from->m_debugLog->getDebugLogLevel());
|
to->m_debugLog->setDebugLogLevel(
|
||||||
|
from->m_debugLog->getDebugLogLevel());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user