From 07062187d0cea242f27375d64396414bccd110ee Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Sun, 28 Apr 2024 16:22:16 +0200 Subject: [PATCH] Compatibility with the log configuration. --- defaults/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index ce38979..e002bfb 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -144,8 +144,8 @@ gitea_app_configurations: - { section: 'log', option: 'COLORIZE', value: 'false', 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', option: 'ENABLE_XORM_LOG', value: 'true', state: 'absent' } + - { section: 'log', option: 'ENABLE_ACCESS_LOG', value: 'true', state: 'absent' } - { 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' }