git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
really fixed the redundant logging issue this time.
[sfa.git]
/
sfa
/
server
/
modpython
/
SfaRegistryModPython.py
diff --git
a/sfa/server/modpython/SfaRegistryModPython.py
b/sfa/server/modpython/SfaRegistryModPython.py
index
276005e
..
8879813
100755
(executable)
--- a/
sfa/server/modpython/SfaRegistryModPython.py
+++ b/
sfa/server/modpython/SfaRegistryModPython.py
@@
-13,7
+13,7
@@
import xmlrpclib
from mod_python import apache
from sfa.plc.api import SfaAPI
from mod_python import apache
from sfa.plc.api import SfaAPI
-from sfa.util.sfalogging import
sfa_
logger
+from sfa.util.sfalogging import logger
api = SfaAPI(interface='registry')
api = SfaAPI(interface='registry')
@@
-53,5
+53,5
@@
def handler(req):
except Exception, err:
# Log error in /var/log/httpd/(ssl_)?error_log
except Exception, err:
# Log error in /var/log/httpd/(ssl_)?error_log
-
sfa_
logger.log_exc('%r'%err)
+ logger.log_exc('%r'%err)
return apache.HTTP_INTERNAL_SERVER_ERROR
return apache.HTTP_INTERNAL_SERVER_ERROR