diff --git a/devices/src/hardware_device.py b/devices/src/hardware_device.py
index 0b9d488fb5f9df78d0768923c0b360c034b06acc..2e198b78f2a6a9bfd00100c00a30f235c9a62f5c 100644
--- a/devices/src/hardware_device.py
+++ b/devices/src/hardware_device.py
@@ -17,6 +17,7 @@ from tango import DevState, DebugIt
 # Additional import
 
 from src.attribute_wrapper import *
+from src.lofar_logging import device_logging_to_python, log_exceptions
 
 
 __all__ = ["hardware_device"]
@@ -24,6 +25,7 @@ __all__ = ["hardware_device"]
 from src.wrappers import only_in_states
 
 
+@device_logging_to_python({"device": "SDP"})
 class hardware_device(Device):
 	"""
 
@@ -59,6 +61,7 @@ class hardware_device(Device):
 
 		self.value_dict = {i: i.initial_value() for i in self.attr_list()}
 
+	@log_exceptions
 	def init_device(self):
 		""" Instantiates the device in the OFF state. """
 
@@ -162,6 +165,7 @@ class hardware_device(Device):
 		"""Method always executed before any TANGO command is executed."""
 		pass
 
+	@log_exceptions
 	def delete_device(self):
 		"""Hook to delete resources allocated in init_device.
 
diff --git a/SDP/SDP/lofar_logging.py b/devices/src/lofar_logging.py
similarity index 100%
rename from SDP/SDP/lofar_logging.py
rename to devices/src/lofar_logging.py