[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:
Michal Konecny 2024-07-24 10:49:12 +02:00
parent c901eae7ae
commit cabd6b7385
2 changed files with 4 additions and 1 deletions

View file

@ -12,7 +12,6 @@ mailman_log_items:
- bounce
- config
- http
- database
- runner
- smtp
- subscribe

View file

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