aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NorthstarDLL/logging/logging.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDLL/logging/logging.cpp b/NorthstarDLL/logging/logging.cpp
index 2e8605d6..a68fe704 100644
--- a/NorthstarDLL/logging/logging.cpp
+++ b/NorthstarDLL/logging/logging.cpp
@@ -52,7 +52,7 @@ void CreateLogFiles()
stream << std::put_time(&currentTime, (GetNorthstarPrefix() + "/logs/nslog%Y-%m-%d %H-%M-%S.txt").c_str());
auto sink = std::make_shared<spdlog::sinks::basic_file_sink_mt>(stream.str(), false);
- sink->set_pattern("[%H:%M:%S] [%n] [%l] %v");
+ sink->set_pattern("[%Y-%m-%d] [%H:%M:%S] [%n] [%l] %v");
for (auto& logger : loggers)
{
logger->sinks().push_back(sink);