mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
[mailman3] Update logging for mailman
There was a typo in logging section of mailman configuration, which caused that only default log files were created. Also there is separate logging for gunicorn now, let's use that. Signed-off-by: Michal Konecny <mkonecny@redhat.com>
This commit is contained in:
@@ -11,12 +11,13 @@ mailman_log_items:
|
||||
- archiver
|
||||
- bounce
|
||||
- config
|
||||
- database
|
||||
- http
|
||||
- database
|
||||
- runner
|
||||
- smtp
|
||||
- subscribe
|
||||
- task
|
||||
- gunicorn
|
||||
mailman_smtp_port: 25
|
||||
mailman_debug: false
|
||||
|
||||
|
||||
@@ -54,9 +54,13 @@ admin_user: {{ mailman_rest_api_username }}
|
||||
admin_pass: {{ mailman_rest_api_password }}
|
||||
workers: {{ mailman_rest_api_workers }}
|
||||
|
||||
[logging.root]
|
||||
level: {{ mailman_log_level }}
|
||||
path: {{ mailman_log_directory }}/mailman.log
|
||||
|
||||
{% for item in mailman_log_items %}
|
||||
|
||||
[loggin.{{ item }}]
|
||||
[logging.{{ item }}]
|
||||
level: {{ mailman_log_level }}
|
||||
path: {{ mailman_log_directory }}/{{ item }}.log
|
||||
|
||||
|
||||
Reference in New Issue
Block a user