Skip to content

Commit cbb8871

Browse files
author
Jonathan Chauncey
authored
Merge pull request #42 from jchauncey/update-logs-error-message
chore(apps): Update logs error message
2 parents 0bf2d46 + 543165e commit cbb8871

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

apps/apps.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@ const workflowURLPrefix = "deis."
1919
// ErrNoLogs is returned when logs are missing from an app.
2020
var ErrNoLogs = errors.New(
2121
`There are currently no log messages. Please check the following things:
22-
1) Logger and fluentd pods are running.
23-
2) The application is writing logs to the logger component by checking that an entry in the ring buffer was created: kubectl logs <logger pod> --namespace=deis
24-
3) Making sure that the container logs were mounted properly into the fluentd pod: kubectl exec <fluentd pod> --namespace=deis ls /var/log/containers`)
22+
1) Logger and fluentd pods are running: kubectl --namespace=deis get pods.
23+
2) The application is writing logs to the logger component by checking that an entry in the ring buffer was created: kubectl --namespace=deis logs <logger pod>
24+
3) Making sure that the container logs were mounted properly into the fluentd pod: kubectl --namespace=deis exec <fluentd pod> ls /var/log/containers
25+
3a) If the above command returns saying /var/log/containers cannot be found then please see the following github issue for a workaround: https://github.com/deis/logger/issues/50`)
2526

2627
// List lists apps on a Deis controller.
2728
func List(c *deis.Client, results int) ([]api.App, int, error) {

0 commit comments

Comments
 (0)