mirror of
https://github.com/dkmstr/openuds.git
synced 2025-01-05 09:17:54 +03:00
Removed a couple of "DEBUG" and fixed remote logging
"
This commit is contained in:
parent
099c0d9861
commit
b3324eec91
@ -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()
|
||||
|
||||
|
@ -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))
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user