aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/main.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2025-08-26 11:43:54 +0200
committerGitHub Enterprise <[email protected]>2025-08-26 11:43:54 +0200
commitb734de7c3a36bc5ccef84c1c940e0e3208e96506 (patch)
tree75d3a936566987585b449c42ff867b9c9e5b404b /src/zenserver/main.cpp
parentrevert multi-cid store (#475) (diff)
downloadzen-b734de7c3a36bc5ccef84c1c940e0e3208e96506.tar.xz
zen-b734de7c3a36bc5ccef84c1c940e0e3208e96506.zip
improve console output (#476)
* add color coded logging level to console output (for warn/err/crit levels) * clean up console output
Diffstat (limited to 'src/zenserver/main.cpp')
-rw-r--r--src/zenserver/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zenserver/main.cpp b/src/zenserver/main.cpp
index d8922f885..f7d69617c 100644
--- a/src/zenserver/main.cpp
+++ b/src/zenserver/main.cpp
@@ -450,7 +450,7 @@ main(int argc, char* argv[])
{
if (IsDir(ServerOptions.DataDir))
{
- ZEN_CONSOLE_INFO("deleting files from '{}' ({})", ServerOptions.DataDir, DeleteReason);
+ ZEN_CONSOLE_INFO("Deleting files from '{}' ({})", ServerOptions.DataDir, DeleteReason);
DeleteDirectories(ServerOptions.DataDir);
}
}
@@ -463,7 +463,7 @@ main(int argc, char* argv[])
if (!ServerOptions.BaseSnapshotDir.empty())
{
- ZEN_CONSOLE_INFO("copying snapshot from '{}' into '{}", ServerOptions.BaseSnapshotDir, ServerOptions.DataDir);
+ ZEN_CONSOLE_INFO("Copying snapshot from '{}' into '{}", ServerOptions.BaseSnapshotDir, ServerOptions.DataDir);
CopyTree(ServerOptions.BaseSnapshotDir, ServerOptions.DataDir, {.EnableClone = true});
}