[FIX] name of all logger to exist at the correct place in the loggers hierarchy

bzr revid: xmo@openerp.com-20110907142227-601yrbrzhcv1vq38
This commit is contained in:
Xavier Morel
2011-09-07 16:22:27 +02:00
parent 66e2cee0d5
commit a2485c3c4c
+1 -1
View File
@@ -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,