Fix the debug log level merge function

This commit is contained in:
Felipe Zimmerle 2017-03-27 14:09:42 -03:00
parent 2a54bf23e5
commit 80cfca6fa3
No known key found for this signature in database
GPG Key ID: E6DFB08CE8B11277

View File

@ -371,8 +371,10 @@ class RulesProperties {
if (from->m_debugLog && to->m_debugLog &&
from->m_debugLog->isLogLevelSet()) {
to->m_debugLog->setDebugLogLevel(
from->m_debugLog->getDebugLogLevel());
if (to->m_debugLog->isLogFileSet() == false) {
to->m_debugLog->setDebugLogLevel(
from->m_debugLog->getDebugLogLevel());
}
}