Fix the debug log merge function

This commit is contained in:
Felipe Zimmerle
2017-03-27 11:24:26 -03:00
parent eb12b15146
commit 2a54bf23e5

View File

@@ -357,6 +357,7 @@ class RulesProperties {
if (from->m_debugLog && to->m_debugLog &&
from->m_debugLog->isLogFileSet()) {
if (to->m_debugLog->isLogFileSet() == false) {
std::string error;
to->m_debugLog->setDebugLogFile(
from->m_debugLog->getDebugLogFile(),
@@ -366,6 +367,7 @@ class RulesProperties {
return -1;
}
}
}
if (from->m_debugLog && to->m_debugLog &&
from->m_debugLog->isLogLevelSet()) {