X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fserver%2Fmodpython%2FSfaAggregateModPython.py;h=515b083ea0d94eb6fa3ebf13b5048044e6eb4851;hb=2b3c0c7ebe7c55afb14e3ea3aed10f8b1abe01e7;hp=502fea632336d666aed0633d869a0a86d716fbd0;hpb=eababa96fb603cdd552bc03091813544b099befd;p=sfa.git diff --git a/sfa/server/modpython/SfaAggregateModPython.py b/sfa/server/modpython/SfaAggregateModPython.py index 502fea63..515b083e 100755 --- a/sfa/server/modpython/SfaAggregateModPython.py +++ b/sfa/server/modpython/SfaAggregateModPython.py @@ -12,10 +12,10 @@ import traceback 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 +from sfa.plc.server import SfaApi -api = SfaAPI(interface='aggregate') +api = SfaApi(interface='aggregate') def handler(req): try: @@ -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