aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2023-06-18 21:30:13 +0200
committerGitHub <noreply@github.com>2023-06-18 21:30:13 +0200
commit2dbee348336346b42e7cacc22d80ce24e1730c23 (patch)
treef0f77631ed26dde91767d86f4c518ec7ec0448e9
parent12a42ea33873b814f3b626ff78b8619f5eef377a (diff)
parenta11e26ebad87d11d702c5477dc4f33bb5484c24e (diff)
Merge pull request #27452 from tmaregge/make-vespa-log-error-more-helpfulv8.179.37
Make error message more descriptive wrt accessing logs from docker container
-rw-r--r--client/go/internal/vespa/target_custom.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/go/internal/vespa/target_custom.go b/client/go/internal/vespa/target_custom.go
index 0129b1e1153..93397287ac8 100644
--- a/client/go/internal/vespa/target_custom.go
+++ b/client/go/internal/vespa/target_custom.go
@@ -74,7 +74,7 @@ func (t *customTarget) Service(name string, timeout time.Duration, sessionOrRunI
}
func (t *customTarget) PrintLog(options LogOptions) error {
- return fmt.Errorf("log access is only supported on cloud: run vespa-logfmt on the admin node instead")
+ return fmt.Errorf("log access is only supported on cloud: run vespa-logfmt on the admin node instead, or export from a container image (here named 'vespa') using docker exec vespa vespa-logfmt")
}
func (t *customTarget) CheckVersion(version version.Version) error { return nil }