[FIX] werkzeug logging respect "--log-level" setting for warn, error and critical levels

This commit is contained in:
Christophe Simonis 2014-06-22 11:44:30 +02:00
parent 4cd699df15
commit 0e595c4186
1 changed files with 3 additions and 3 deletions

View File

@ -212,9 +212,9 @@ PSEUDOCONFIG_MAPPER = {
'debug': ['openerp:DEBUG'],
'debug_sql': ['openerp.sql_db:DEBUG'],
'info': [],
'warn': ['openerp:WARNING'],
'error': ['openerp:ERROR'],
'critical': ['openerp:CRITICAL'],
'warn': ['openerp:WARNING', 'werkzeug:WARNING'],
'error': ['openerp:ERROR', 'werkzeug:ERROR'],
'critical': ['openerp:CRITICAL', 'werkzeug:CRITICAL'],
}
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: