From 1dca0673c5219259112b5332549a3d89d67ee0e0 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Wed, 28 Jun 2023 22:21:42 +0200 Subject: [PATCH] (Windows) Fixed an issue where the log output time stamp was missing in es_log.txt when built using MinGW --- es-core/src/Log.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es-core/src/Log.cpp b/es-core/src/Log.cpp index e66fb31ea..4807bd7ee 100644 --- a/es-core/src/Log.cpp +++ b/es-core/src/Log.cpp @@ -70,7 +70,7 @@ std::ostringstream& Log::get(LogLevel level) localtime_r(&t, &tm); #endif std::unique_lock lock {sLogMutex}; - mOutStringStream << std::put_time(&tm, "%b %d %T ") << mLogLevelMap[level] << ":\t"; + mOutStringStream << std::put_time(&tm, "%b %d %H:%M:%S ") << mLogLevelMap[level] << ":\t"; mMessageLevel = level; return mOutStringStream;