diff --git a/trytond/trytond/wsgi.py b/trytond/trytond/wsgi.py index d951a1bea0..ee62d8b842 100644 --- a/trytond/trytond/wsgi.py +++ b/trytond/trytond/wsgi.py @@ -132,8 +132,7 @@ class TrytondWSGI(object): "Exception when processing %s", request, exc_info=True) return exceptions.ServiceUnavailable(description=str(e)) except Exception as e: - logger.debug( - "Exception when processing %s", request, exc_info=True) + logger.exception("Exception when processing %s", request) if self.dev: tb_s = ''.join(traceback.format_exception(*sys.exc_info())) for path in sys.path: