aboutsummaryrefslogtreecommitdiff
path: root/src/zen/cmds/trace_cmd.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2024-02-12 14:50:46 +0100
committerGitHub <[email protected]>2024-02-12 14:50:46 +0100
commitac3ca061ac4dcf107f3b0f60bb58d40b199458d8 (patch)
treedd62b20546928d54e87e5fb9c57fc899a0627a5b /src/zen/cmds/trace_cmd.cpp
parentSave compressed large attachments to temporary files on disk (#650) (diff)
downloadarchived-zen-ac3ca061ac4dcf107f3b0f60bb58d40b199458d8.tar.xz
archived-zen-ac3ca061ac4dcf107f3b0f60bb58d40b199458d8.zip
Added --copy-log, --copy-cache-log and copy-http-log option to zen logs command (#651)
* be safe and use ToText() rather than AsText() when getting http responses * Added `--copy-log`, `--copy-cache-log` and `copy-http-log` option to zen logs command to copy logs from a local running zen server instance
Diffstat (limited to 'src/zen/cmds/trace_cmd.cpp')
-rw-r--r--src/zen/cmds/trace_cmd.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/zen/cmds/trace_cmd.cpp b/src/zen/cmds/trace_cmd.cpp
index fee4dd6bc..dacc13ebf 100644
--- a/src/zen/cmds/trace_cmd.cpp
+++ b/src/zen/cmds/trace_cmd.cpp
@@ -48,7 +48,7 @@ TraceCommand::Run(const ZenCliOptions& GlobalOptions, int argc, char** argv)
}
else
{
- ZEN_ERROR("trace stop failed: {}", Response.AsText());
+ ZEN_ERROR("trace stop failed: {}", Response.ToText());
return 1;
}
}
@@ -72,7 +72,7 @@ TraceCommand::Run(const ZenCliOptions& GlobalOptions, int argc, char** argv)
}
else
{
- ZEN_ERROR("trace start failed: {}", Response.AsText());
+ ZEN_ERROR("trace start failed: {}", Response.ToText());
return 1;
}
}
@@ -84,7 +84,7 @@ TraceCommand::Run(const ZenCliOptions& GlobalOptions, int argc, char** argv)
}
else
{
- ZEN_ERROR("trace status failed: {}", Response.AsText());
+ ZEN_ERROR("trace status failed: {}", Response.ToText());
}
return 1;