diff options
author | Kristian Aune <kraune@verizonmedia.com> | 2024-05-07 16:01:08 +0200 |
---|---|---|
committer | Kristian Aune <kraune@verizonmedia.com> | 2024-05-07 16:01:08 +0200 |
commit | 986aeed746202999dc8859d376d5445348638bc1 (patch) | |
tree | a6c86763f9d32003e504f00a21b3151a487c541c | |
parent | c58223801f86cbffcbfa9caedc3da5be02daa43e (diff) |
More help text for vespa logkkraune/logs
-rw-r--r-- | client/go/internal/cli/cmd/log.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/client/go/internal/cli/cmd/log.go b/client/go/internal/cli/cmd/log.go index 77ef7f68130..4ae693edc33 100644 --- a/client/go/internal/cli/cmd/log.go +++ b/client/go/internal/cli/cmd/log.go @@ -25,6 +25,12 @@ func newLogCmd(cli *CLI) *cobra.Command { The logs shown can be limited to a relative or fixed period. All timestamps are shown in UTC. Logs for the past hour are shown if no arguments are given. + +This command is not supported for a local endpoint. +Make note of the container name used to serve the local endpoint, often called "vespa" in the examples, +then run the container command to dump logs, like: +* docker exec vespa vespa-logfmt # dump logs from Docker container named "vespa" +* podman exec vespa vespa-logfmt # likewise, for containers running using Podman `, Example: `$ vespa log 1h $ vespa log --nldequote=false 10m |