review logging again; code that runs in client and/or server now logs in the right...
[sfa.git] / sfa / plc / api-dev.py
index 4a6d7a2..5241159 100644 (file)
@@ -324,7 +324,7 @@ class SfaAPI(BaseAPI):
 
         self.hrn = self.config.SFA_INTERFACE_HRN
         self.time_format = "%Y-%m-%d %H:%M:%S"
-        self.logger=sfa_logger
+        self.logger=sfa_logger()
 
     def getPLCShell(self):
         self.plauth = {'Username': self.config.SFA_PLC_USER,