diff --git a/tangostationcontrol/tangostationcontrol/integration_test/device_proxy.py b/tangostationcontrol/tangostationcontrol/integration_test/device_proxy.py
index b0085d9646a9cb0208108bbcabb263a3173e54ef..25c92411ecaababad20007868cfd19bdc3e9e18a 100644
--- a/tangostationcontrol/tangostationcontrol/integration_test/device_proxy.py
+++ b/tangostationcontrol/tangostationcontrol/integration_test/device_proxy.py
@@ -1,7 +1,10 @@
+import logging
 import time
 
 from tango import DeviceProxy
 
+logger = logging.getLogger()
+
 
 class TestDeviceProxy(DeviceProxy):
 
@@ -16,7 +19,7 @@ class TestDeviceProxy(DeviceProxy):
             d.Off()
         except Exception as e:
             """Failing to turn Off devices should not raise errors here"""
-            print(f"Failed to turn device off in teardown {e}")
+            logger.error(f"Failed to turn device off in teardown {e}")
 
             """Wait for 1 second to prevent propagating reconnection errors"""
             time.sleep(1)