From dba95b07f19d97aca6b9de792db0a0b5f3c72cd3 Mon Sep 17 00:00:00 2001 From: appleb_m Date: Thu, 11 Jun 2026 16:11:28 +0200 Subject: [PATCH] aerotech: logging --- src/aare/devices/aerotech.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/aare/devices/aerotech.py b/src/aare/devices/aerotech.py index 2542e853..0d69a767 100644 --- a/src/aare/devices/aerotech.py +++ b/src/aare/devices/aerotech.py @@ -11,6 +11,9 @@ from aare.common.exception_handler import AerotechCommunicationError AEROTECH_HOME = AerotechCoordinate(at_mm=Coordinate(x=0, y=0, z=0), omega_deg=0) +from aare.common.logger_config import setup_logger + +logger = setup_logger("aareDAQ") class AerotechController(object): @@ -229,6 +232,7 @@ class AerotechController(object): if self.__simulated: return payload try: + logger.info('sending screening scan request to aerotech') return self.__api.screening_post(payload) except Exception as e: raise AerotechCommunicationError(