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