aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTorstein Egge <torstein.egge@yahooinc.com>2023-06-16 09:20:58 +0200
committerTorstein Egge <torstein.egge@yahooinc.com>2023-06-16 09:20:58 +0200
commita11e26ebad87d11d702c5477dc4f33bb5484c24e (patch)
treef625cc865fd596aefbb7b85fb3de2414f2cf9d0a
parentc483f99e61db99228262b72734a0417058dea208 (diff)
Make error message more descriptive wrt how to access 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 }