mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
[mailman3] Set logging level for database to warning
The database log is really big even on info level, let' set it manually to warning to save space and don't generate GB of logs. Signed-off-by: Michal Konecny <mkonecny@redhat.com>
This commit is contained in:
@@ -12,7 +12,6 @@ mailman_log_items:
|
||||
- bounce
|
||||
- config
|
||||
- http
|
||||
- database
|
||||
- runner
|
||||
- smtp
|
||||
- subscribe
|
||||
|
||||
@@ -58,6 +58,10 @@ workers: {{ mailman_rest_api_workers }}
|
||||
level: {{ mailman_log_level }}
|
||||
path: {{ mailman_log_directory }}/mailman.log
|
||||
|
||||
[logging.database]
|
||||
level: warning
|
||||
path: {{ mailman_log_directory }}/database.log
|
||||
|
||||
{% for item in mailman_log_items %}
|
||||
|
||||
[logging.{{ item }}]
|
||||
|
||||
Reference in New Issue
Block a user