diff --git a/src/engine/logfactory.cpp b/src/engine/logfactory.cpp index bdc7d0498a..cddfd946b2 100644 --- a/src/engine/logfactory.cpp +++ b/src/engine/logfactory.cpp @@ -130,27 +130,27 @@ std::unique_ptr createLog(const ghoul::Dictionary& dictiona // the rest are optional bool append = true; if (dictionary.hasKeyAndValue(keyAppend)) { - dictionary.value(keyAppend); + append = dictionary.value(keyAppend); } bool timeStamp = true; if (dictionary.hasKeyAndValue(keyTimeStamping)) { - dictionary.value(keyTimeStamping); + timeStamp = dictionary.value(keyTimeStamping); } bool dateStamp = true; if (dictionary.hasKeyAndValue(keyDateStamping)) { - dictionary.value(keyDateStamping); + dateStamp = dictionary.value(keyDateStamping); } bool categoryStamp = true; if (dictionary.hasKeyAndValue(keyCategoryStamping)) { - dictionary.value(keyCategoryStamping); + categoryStamp = dictionary.value(keyCategoryStamping); } bool logLevelStamp = true; if (dictionary.hasKeyAndValue(keyLogLevelStamping)) { - dictionary.value(keyLogLevelStamping); + logLevelStamp = dictionary.value(keyLogLevelStamping); } std::string logLevel; if (dictionary.hasKeyAndValue(keyLogLevel)) { - dictionary.value(keyLogLevel); + logLevel = dictionary.value(keyLogLevel); }