diff --git a/diambra/arena/utils/controller.py b/diambra/arena/utils/controller.py index d0d63a6..1fed6d4 100644 --- a/diambra/arena/utils/controller.py +++ b/diambra/arena/utils/controller.py @@ -71,7 +71,7 @@ def __init__(self, device, action_list=(("NoMove", "Left", "UpLeft", "Up", "UpRi # thread init class (don't forget this) Thread.__init__(self, daemon=True) self.logger = logging.getLogger(__name__) - self.logger.basicConfig(logging_level) + self.logger.setLevel(logging_level) self.stop_event = Event()