[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:
Michal Konecny 2024-07-17 17:26:53 +02:00 committed by zlopez
parent 1e1ef86b12
commit d655c7b366
2 changed files with 7 additions and 2 deletions

View file

@ -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

View file

@ -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