Remove remnant of scriptlogtype in log message

This commit is contained in:
Alexander Bock
2021-06-18 09:16:15 +02:00
parent b1f10b1b70
commit 741ed2ac05
3 changed files with 2 additions and 5 deletions

View File

@@ -125,7 +125,6 @@ private:
// Logging variables
bool _logFileExists = false;
bool _logScripts = true;
std::string _logType;
std::string _logFilename;
};

View File

@@ -154,7 +154,7 @@ void OpenSpaceEngine::registerPathTokens() {
using T = std::string;
for (const std::pair<const T, T>& path : global::configuration->pathTokens) {
std::string fullKey = "${" + path.first + "}";
LDEBUG(fmt::format("Registering path {}: {}", fullKey, path.second));
LDEBUG(fmt::format("Registering path '{}': '{}'", fullKey, path.second));
const bool overrideBase = (fullKey == "${BASE}");
if (overrideBase) {

View File

@@ -649,9 +649,7 @@ bool ScriptEngine::writeLog(const std::string& script) {
_logFilename = absPath(global::configuration->scriptLog).string();
_logFileExists = true;
LDEBUG(fmt::format(
"Using script log of type '{}' to file '{}'", _logType, _logFilename
));
LDEBUG(fmt::format("Using script log file '{}'", _logFilename));
// Test file and clear previous input
std::ofstream file(_logFilename, std::ofstream::out | std::ofstream::trunc);