aboutsummaryrefslogtreecommitdiff
path: root/src/zenutil/logging.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2024-03-25 22:57:24 +0100
committerGitHub Enterprise <[email protected]>2024-03-25 22:57:24 +0100
commit9fef50ff26e5c9c56e0794947305429f27da17e8 (patch)
treed610ef436b5ded08d62492618a1b80d3ac802f72 /src/zenutil/logging.cpp
parentadd a limit to the number of times we attempt to finalize (#22) (diff)
downloadzen-9fef50ff26e5c9c56e0794947305429f27da17e8.tar.xz
zen-9fef50ff26e5c9c56e0794947305429f27da17e8.zip
consistent paths encoding (#24)
* Don't encode filesystem path to UTF8 unless stored in compactbinary string * Be consistent where we encode/decode paths to UTF8
Diffstat (limited to 'src/zenutil/logging.cpp')
-rw-r--r--src/zenutil/logging.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenutil/logging.cpp b/src/zenutil/logging.cpp
index eef6a59ce..4f8c5e59e 100644
--- a/src/zenutil/logging.cpp
+++ b/src/zenutil/logging.cpp
@@ -80,7 +80,7 @@ BeginInitializeLogging(const LoggingOptions& LogOptions)
zen::CreateDirectories(LogOptions.AbsLogFile.parent_path());
}
- FileSink = std::make_shared<zen::logging::RotatingFileSink>(zen::PathToUtf8(LogOptions.AbsLogFile),
+ FileSink = std::make_shared<zen::logging::RotatingFileSink>(LogOptions.AbsLogFile,
/* max size */ 128 * 1024 * 1024,
/* max files */ 16,
/* rotate on open */ true);