summaryrefslogtreecommitdiff
path: root/addons/web/common/dispatch.py
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2011-09-07 16:22:27 +0200
committerXavier Morel <xmo@openerp.com>2011-09-07 16:22:27 +0200
commita2485c3c4c08e601b1dfa902da367a4c084557e4 (patch)
treee4a0c7717268806f1cb42f20b03d1e6cd5840fca /addons/web/common/dispatch.py
parent66e2cee0d55563ba8916990418e9cc12c36ac012 (diff)
[FIX] name of all logger to exist at the correct place in the loggers hierarchy
bzr revid: xmo@openerp.com-20110907142227-601yrbrzhcv1vq38
Diffstat (limited to 'addons/web/common/dispatch.py')
-rw-r--r--addons/web/common/dispatch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/common/dispatch.py b/addons/web/common/dispatch.py
index 92808e7e475..a88c5b6289c 100644
--- a/addons/web/common/dispatch.py
+++ b/addons/web/common/dispatch.py
@@ -185,7 +185,7 @@ class JsonRequest(WebRequest):
}
}
except Exception:
- logging.getLogger('openerp.JSONRequest.dispatch').exception\
+ logging.getLogger(__name__ + '.JSONRequest.dispatch').exception\
("An error occured while handling a json request")
error = {
'code': 300,