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,