X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=blobdiff_plain;f=sfa%2Fserver%2Fmodpython%2FSfaSliceMgrModPython.py;h=e0f2b923aa63e4452ac84f0b5e36b4d167e7b4a1;hp=a28b002d2c2d635ef1c00557eaadb36927e6904f;hb=3eea82897aba845da0d12c1ba56012e599f58853;hpb=6a916bd26a48a8315fcabf08f8232a73e81d6f59 diff --git a/sfa/server/modpython/SfaSliceMgrModPython.py b/sfa/server/modpython/SfaSliceMgrModPython.py index a28b002d..e0f2b923 100755 --- 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 sfa.util.sfalogging import sfa_logger +from sfa.util.sfalogging import logger api = SfaAPI(interface='slicemgr') @@ -53,5 +53,5 @@ def handler(req): 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