Skip to content

Commit

Permalink
fix: fix supervisor bug
Browse files Browse the repository at this point in the history
  • Loading branch information
furkan-bilgin committed Nov 14, 2024
1 parent 9bab512 commit 14aaee9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/supervisor.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,11 @@ class Supervisor:
_logger: logging.Logger

def init(self):
self._logger = logging.getLogger(f"Supervisor({self.config.supervisor_id})")
self._logger = logging.getLogger()
self.config = self._load_supervisor_config()

# Change logging name based on supervisor id
self._logger.name = f"Supervisor({self.config.supervisor_id})"

self.restart_schedules = []
self.daq_job_threads = self.start_daq_job_threads()
Expand Down

0 comments on commit 14aaee9

Please sign in to comment.