pagure: let the logger send email on errors in the pagure module
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
1b79aaaede
commit
d0a976e1c2
1 changed files with 2 additions and 2 deletions
|
@ -280,7 +280,7 @@ LOGGING = {
|
||||||
},
|
},
|
||||||
'loggers': {
|
'loggers': {
|
||||||
'pagure': {
|
'pagure': {
|
||||||
'handlers': ['console'],
|
'handlers': ['console', 'email'],
|
||||||
'level': 'DEBUG',
|
'level': 'DEBUG',
|
||||||
'propagate': True
|
'propagate': True
|
||||||
},
|
},
|
||||||
|
@ -381,4 +381,4 @@ CSP_HEADERS = (
|
||||||
"frame-src https://docs.stg.pagure.org;"
|
"frame-src https://docs.stg.pagure.org;"
|
||||||
"frame-ancestors https://stg.pagure.io;"
|
"frame-ancestors https://stg.pagure.io;"
|
||||||
)
|
)
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue