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
/
SfaSliceMgrModPython.py
diff --git
a/sfa/server/modpython/SfaSliceMgrModPython.py
b/sfa/server/modpython/SfaSliceMgrModPython.py
index
a28b002
..
e0f2b92
100755
(executable)
--- a/
sfa/server/modpython/SfaSliceMgrModPython.py
+++ b/
sfa/server/modpython/SfaSliceMgrModPython.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='slicemgr')
api = SfaAPI(interface='slicemgr')
@@
-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