projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
799752a
)
[FIX] netsvc: make sure pseudo_config variable is always initialized.
author
Vo Minh Thu
<vmt@openerp.com>
Fri, 10 Feb 2012 13:44:46 +0000
(14:44 +0100)
committer
Vo Minh Thu
<vmt@openerp.com>
Fri, 10 Feb 2012 13:44:46 +0000
(14:44 +0100)
bzr revid: vmt@openerp.com-
20120210134446
-ijg8t6ms1938i77t
openerp/netsvc.py
patch
|
blob
|
history
diff --git
a/openerp/netsvc.py
b/openerp/netsvc.py
index
3491881
..
0051fe6
100644
(file)
--- a/
openerp/netsvc.py
+++ b/
openerp/netsvc.py
@@
-216,6
+216,8
@@
def init_logger():
pseudo_config = ['openerp:CRITICAL']
elif tools.config['log_level'] == 'debug_sql':
pseudo_config = ['openerp.sql_db:DEBUG']
+ else:
+ pseudo_config = []
logconfig = tools.config['log_handler']