[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': ['openerp:DEBUG'],
'debug_sql': ['openerp.sql_db:DEBUG'], 'debug_sql': ['openerp.sql_db:DEBUG'],
'info': [], 'info': [],
'warn': ['openerp:WARNING'], 'warn': ['openerp:WARNING', 'werkzeug:WARNING'],
'error': ['openerp:ERROR'], 'error': ['openerp:ERROR', 'werkzeug:ERROR'],
'critical': ['openerp:CRITICAL'], 'critical': ['openerp:CRITICAL', 'werkzeug:CRITICAL'],
} }
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: