From 588bafdfad0aa5b4251e80894258f50f48c2fe70 Mon Sep 17 00:00:00 2001 From: Stefan Boberg Date: Wed, 29 Nov 2023 12:22:49 +0100 Subject: fixed file logger pattern (#579) previously, the millisecond part was inexplicably logged after the date, not the time. --- CHANGELOG.md | 1 + src/zenutil/logging.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e1a5b9a73..a523cc307 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ - Bugfix: Fix sync of log position and state log when writing cas index snapshot - Bugfix: Make sure we can override flags to "false" when running `zen gc` commmand - `smallobjects`, `skipcid`, `skipdelete`, `verbose` +- Bugfix: fixed file log timestamp format so the milliseconds are appended after the time not the date - Improvement: The frontend html content is no longer appended at the end of the executable which prevented signing, instead it is compiled in from the `/src/zenserver/frontend/html.zip` archive - Improvement: MacOS now does ad-hoc code signing by default when issuing `xmake bundle`, signing with proper cert is done on CI builds - Improvement: Updated branding to be consistent with current working name ("Unreal Zen Storage Server" etc) diff --git a/src/zenutil/logging.cpp b/src/zenutil/logging.cpp index 512c7901c..d0a6ac0b4 100644 --- a/src/zenutil/logging.cpp +++ b/src/zenutil/logging.cpp @@ -179,7 +179,7 @@ FinishInitializeLogging(const LoggingOptions& LogOptions) } else { - g_FileSink->set_pattern("[%C-%m-%d.%e %T] [%n] [%l] %v"); + g_FileSink->set_pattern("[%C-%m-%d %T.%e] [%n] [%l] %v"); } } -- cgit v1.2.3