default to no timestamps in logs

This commit is contained in:
Jesse Duffield 2022-05-11 19:18:58 +10:00
parent c4e41b3ee2
commit cd96b20bb2
2 changed files with 3 additions and 4 deletions

View file

@ -29,7 +29,7 @@ gui:
returnImmediately: false
wrapMainPanel: false
logs:
timestamps: true
timestamps: false
since: '60m'
commandTemplates:
dockerCompose: docker-compose
@ -39,8 +39,7 @@ commandTemplates:
viewServiceLogs: '{{ .DockerCompose }} logs --follow {{ .Service.Name }}'
rebuildService: '{{ .DockerCompose }} up -d --build {{ .Service.Name }}'
recreateService: '{{ .DockerCompose }} up -d --force-recreate {{ .Service.Name }}'
viewContainerLogs:
docker logs --timestamps --follow --since=60m {{ .Container.ID
viewContainerLogs: docker logs --follow --since=60m {{ .Container.ID
}}
allLogs: '{{ .DockerCompose }} logs --tail=300 --follow'
viewAlLogs: '{{ .DockerCompose }} logs'

View file

@ -320,7 +320,7 @@ func GetDefaultConfig() UserConfig {
},
ConfirmOnQuit: false,
Logs: LogsConfig{
Timestamps: true,
Timestamps: false,
Since: "60m",
},
CommandTemplates: CommandTemplatesConfig{