diff --git a/crossechoTangoDev/Crossecho.py b/crossechoTangoDev/Crossecho.py index 17fb6c6d0a794b06d4287a2d84c9c646b25bbd10..b087a43a6597cc8baa95a17de64eb558ca76e06a 100644 --- a/crossechoTangoDev/Crossecho.py +++ b/crossechoTangoDev/Crossecho.py @@ -95,9 +95,9 @@ class Crossecho(Device): self.opc_obj = self.client.get_root_node().get_child(["0:Objects", "{}:StationMetrics".format(idx), "{}:RCU".format(idx)]) - self.logger.info("Connected to the OPC-UA server %s", self.OPC_Server_Name) + print("Connected to the OPC-UA server %s", self.OPC_Server_Name) except: - self.logger.error("Failed to connect to the OPC-UA server %s. Traceback: %s", self.OPC_Server_Name, traceback.format_exc()) + print("Failed to connect to the OPC-UA server %s. Traceback: %s", self.OPC_Server_Name, traceback.format_exc()) # PROTECTED REGION END # // Crossecho.init_device def always_executed_hook(self): @@ -146,9 +146,9 @@ class Crossecho(Device): # PROTECTED REGION ID(Crossecho.record_cross) ENABLED START # if self.is_record_cross_allowed() is True: timeStamp, self.crosslet_stat, self.RCU_modes = self.opc_obj.call_method("{}:record_cross".format(idx), self.subBand, self.integrationTime) - self.logger.debug("Timestamp is ", timeStamp) - self.logger.debug("Crosscorrelations are ", self.crosslet_stat) - self.logger.debug("RCU modes are", self.RCU_modes) + print("Timestamp is ", timeStamp) + print("Crosscorrelations are ", self.crosslet_stat) + print("RCU modes are", self.RCU_modes) # PROTECTED REGION END # // Crossecho.record_cross