logging options.
This commit is contained in:
parent
e624f96533
commit
e146cfe58c
|
@ -87,7 +87,14 @@ gitea_prometheus_metrics: False
|
||||||
gitea_prometheus_bearer_token: ''
|
gitea_prometheus_bearer_token: ''
|
||||||
gitea_log_level: Info
|
gitea_log_level: Info
|
||||||
|
|
||||||
gitea_app_configurations: []
|
gitea_app_configurations:
|
||||||
|
- { 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.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' }
|
||||||
|
- { section: 'database', option: 'LOG_SQL', value: 'false', state: 'present' }
|
||||||
# - { section: 'mailer', option: 'ENABLED', value: 'true', state: 'present' }
|
# - { section: 'mailer', option: 'ENABLED', value: 'true', state: 'present' }
|
||||||
# - { section: 'mailer', option: 'FROM', value: '{{ gitea_mail_from }}', state: 'present' }
|
# - { section: 'mailer', option: 'FROM', value: '{{ gitea_mail_from }}', state: 'present' }
|
||||||
# - { section: 'mailer', option: 'MAILER_TYPE', value: '{{ gitea_mailer_type }}', state: 'present' }
|
# - { section: 'mailer', option: 'MAILER_TYPE', value: '{{ gitea_mailer_type }}', state: 'present' }
|
||||||
|
|
Loading…
Reference in New Issue