Default log directory.

This commit is contained in:
Andrea Dell'Amico 2021-06-23 16:35:39 +02:00
parent 25cbd6330f
commit 366b5c6f4f
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 2 additions and 0 deletions

View File

@ -88,9 +88,11 @@ gitea_prometheus_bearer_token: ''
gitea_log_level: Info
gitea_app_configurations:
- { section: 'log', option: 'ROOT_PATH', value: '{{ gitea_log_dir }}', state: 'present' }
- { section: 'log', option: 'LEVEL', value: '{{ gitea_log_level }}', state: 'present' }
- { section: 'log', option: 'FILE_NAME', value: '{{ gitea_log_dir }}/gitea.log', state: 'present' }
- { section: 'log', option: 'ENABLE_XORM_LOG', value: 'true', state: 'present' }
- { section: 'log', option: 'ENABLE_ACCESS_LOG', value: 'true', state: 'present' }
- { section: 'log.sublogger.router', option: 'FILE_NAME', value: '{{ gitea_log_dir }}/router.log', state: 'present' }
- { section: 'log.sublogger.access', option: 'FILE_NAME', value: '{{ gitea_log_dir }}/access.log', state: 'present' }
- { section: 'log.sublogger.xorm', option: 'FILE_NAME', value: '{{ gitea_log_dir }}/xorm.log', state: 'present' }