aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2023-11-29 12:22:49 +0100
committerGitHub <[email protected]>2023-11-29 12:22:49 +0100
commit588bafdfad0aa5b4251e80894258f50f48c2fe70 (patch)
treee09bdb6e99e31cb7e0aae02289f0ec9f6eeef39f
parentUpdate README.md (diff)
downloadzen-588bafdfad0aa5b4251e80894258f50f48c2fe70.tar.xz
zen-588bafdfad0aa5b4251e80894258f50f48c2fe70.zip
fixed file logger pattern (#579)
previously, the millisecond part was inexplicably logged after the date, not the time.
-rw-r--r--CHANGELOG.md1
-rw-r--r--src/zenutil/logging.cpp2
2 files changed, 2 insertions, 1 deletions
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");
}
}