diff --git a/actor/src/udsactor/linux/service.py b/actor/src/udsactor/linux/service.py index acdf9bcb3..99eaaa605 100644 --- a/actor/src/udsactor/linux/service.py +++ b/actor/src/udsactor/linux/service.py @@ -73,7 +73,7 @@ class UDSActorSvc(daemon.Daemon, CommonService): self.finish() return # Stop daemon if initializes told to do so - logger.debug('Initialized, setting ready') + # logger.debug('Initialized, setting ready') # Initialization is done, set machine to ready for UDS, communicate urls, etc... self.setReady() diff --git a/actor/src/udsactor/log.py b/actor/src/udsactor/log.py index 3fa682a9d..03badc056 100644 --- a/actor/src/udsactor/log.py +++ b/actor/src/udsactor/log.py @@ -80,7 +80,7 @@ class Logger: msg = message % args # If remote logger is available, notify message to it (except DEBUG messages OFC) try: - if self.remoteLogger and level <= DEBUG: + if self.remoteLogger and level >= DEBUG: self.remoteLogger.log(self.own_token, level, msg) except Exception as e: self.localLogger.log(DEBUG, 'Log to broker: {}'.format(e)) diff --git a/actor/src/udsactor/windows/service.py b/actor/src/udsactor/windows/service.py index 89684ab9c..f8e219a24 100644 --- a/actor/src/udsactor/windows/service.py +++ b/actor/src/udsactor/windows/service.py @@ -240,8 +240,8 @@ class UDSActorSvc(win32serviceutil.ServiceFramework, CommonService): event_system.Store(PROGID_EventSubscription, event_subscription) - logger.debug('Registered SENS') - logger.debug('Initialized, setting ready') + # logger.debug('Registered SENS') + # logger.debug('Initialized, setting ready') # Initialization is done, set machine to ready for UDS, communicate urls, etc... self.setReady()