From 90a04add325be58b4bb07f75d86d233a59f81181 Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Sat, 15 Jun 2019 11:10:29 +1000 Subject: [PATCH] fix up log config commands --- pkg/config/app_config.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg/config/app_config.go b/pkg/config/app_config.go index 4c162da5..e9157606 100644 --- a/pkg/config/app_config.go +++ b/pkg/config/app_config.go @@ -168,8 +168,9 @@ func GetDefaultConfig() UserConfig { RestartService: "{{ .DockerCompose }} restart {{ .Service.Name }}", RebuildService: "{{ .DockerCompose }} up -d --build {{ .Service.Name }}", StopService: "{{ .DockerCompose }} stop {{ .Service.Name }}", - ServiceLogs: "{{ .DockerCompose }} logs {{ .Service.Name }}", - AllLogs: "{{ .DockerCompose }} logs --tail=100", + ServiceLogs: "{{ .DockerCompose }} logs --tail=100 --follow {{ .Service.Name }}", + ViewServiceLogs: "{{ .DockerCompose }} logs --follow {{ .Service.Name }}", + AllLogs: "{{ .DockerCompose }} logs --tail=100 --follow", ViewAllLogs: "{{ .DockerCompose }} logs", DockerComposeConfig: "{{ .DockerCompose }} config", CheckDockerComposeConfig: "{{ .DockerCompose }} config --quiet",