diff --git a/pkg/config/app_config.go b/pkg/config/app_config.go index def256b8..fc337bc6 100644 --- a/pkg/config/app_config.go +++ b/pkg/config/app_config.go @@ -180,15 +180,15 @@ func GetDefaultConfig() UserConfig { RestartService: "{{ .DockerCompose }} restart {{ .Service.Name }}", RebuildService: "{{ .DockerCompose }} up -d --build {{ .Service.Name }}", StopService: "{{ .DockerCompose }} stop {{ .Service.Name }}", - ServiceLogs: "{{ .DockerCompose }} logs --tail=100 --follow {{ .Service.Name }}", + ServiceLogs: "{{ .DockerCompose }} logs --since=60m --follow {{ .Service.Name }}", ViewServiceLogs: "{{ .DockerCompose }} logs --follow {{ .Service.Name }}", - AllLogs: "{{ .DockerCompose }} logs --tail=100 --follow", + AllLogs: "{{ .DockerCompose }} logs --since=60m --follow", ViewAllLogs: "{{ .DockerCompose }} logs", DockerComposeConfig: "{{ .DockerCompose }} config", CheckDockerComposeConfig: "{{ .DockerCompose }} config --quiet", - ContainerLogs: "docker logs --timestamps --follow --tail=100 {{ .Container.ID }}", - ViewContainerLogs: "docker logs --timestamps --follow --tail=100 {{ .Container.ID }}", - ContainerTTYLogs: "docker logs --follow --tail=100 {{ .Container.ID }}", + ContainerLogs: "docker logs --timestamps --follow --since=60m {{ .Container.ID }}", + ViewContainerLogs: "docker logs --timestamps --follow --since=60m {{ .Container.ID }}", + ContainerTTYLogs: "docker logs --follow --since=60m {{ .Container.ID }}", ServiceTop: "{{ .DockerCompose }} top {{ .Service.Name }}", }, CustomCommands: CustomCommands{