diff --git a/defaults/main.yml b/defaults/main.yml index 165c051..21c20a8 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -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' }