diff options
author | Torstein Egge <torstein.egge@yahooinc.com> | 2023-06-16 09:20:58 +0200 |
---|---|---|
committer | Torstein Egge <torstein.egge@yahooinc.com> | 2023-06-16 09:20:58 +0200 |
commit | a11e26ebad87d11d702c5477dc4f33bb5484c24e (patch) | |
tree | f625cc865fd596aefbb7b85fb3de2414f2cf9d0a | |
parent | c483f99e61db99228262b72734a0417058dea208 (diff) |
Make error message more descriptive wrt how to access logs from docker container
-rw-r--r-- | client/go/internal/vespa/target_custom.go | 2 |
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 } |