mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-02-20 03:49:31 -06:00
Remove remnant of scriptlogtype in log message
This commit is contained in:
@@ -125,7 +125,6 @@ private:
|
||||
// Logging variables
|
||||
bool _logFileExists = false;
|
||||
bool _logScripts = true;
|
||||
std::string _logType;
|
||||
std::string _logFilename;
|
||||
};
|
||||
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user