[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:
parent
c901eae7ae
commit
cabd6b7385
2 changed files with 4 additions and 1 deletions
|
@ -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 }}]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue