From: erickson Date: Mon, 31 Mar 2008 20:35:20 +0000 (+0000) Subject: logging http result status X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=bea321cbb65b842d36d45a65ccada322b100e86f;p=working%2FOpenSRF.git logging http result status git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1295 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/src/python/osrf/http_translator.py b/src/python/osrf/http_translator.py index 74ba953..d265cfb 100644 --- a/src/python/osrf/http_translator.py +++ b/src/python/osrf/http_translator.py @@ -85,7 +85,9 @@ def child_init(req): def handler(req): ''' Create the translator and tell it to process the request. ''' child_init(req) - return HTTPTranslator(req).process() + status = HTTPTranslator(req).process() + osrf.log.log_debug("translator call resulted in status %d" % int(status)) + return status class HTTPTranslator(object): def __init__(self, apreq):