From a11e26ebad87d11d702c5477dc4f33bb5484c24e Mon Sep 17 00:00:00 2001 From: Torstein Egge Date: Fri, 16 Jun 2023 09:20:58 +0200 Subject: Make error message more descriptive wrt how to access logs from docker container --- client/go/internal/vespa/target_custom.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- cgit v1.2.3