Default log directory.
This commit is contained in:
parent
25cbd6330f
commit
366b5c6f4f
|
@ -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' }
|
||||
|
|
Loading…
Reference in New Issue