Commit a45426e0 authored by Jameson Rollins's avatar Jameson Rollins

worker: decrease log level of system reload, and state init

parent 2760de6d
......@@ -305,7 +305,7 @@ class Worker(multiprocessing.Process):
state = None
if self.load_request.is_set():
self._log.debug('RELOADING @ %s.main' % self['STATE'])
self._log.info('RELOADING @ %s.main' % self['STATE'])
# reload system
self._system.load()
# initialize setpoints if specified
......@@ -323,8 +323,11 @@ class Worker(multiprocessing.Process):
self._log.log(5, "%s.init:", self['STATE'])
self._statelogger.set_state(self['STATE'])
self._statelogger.set_func('init')
state = self._system[self['STATE']](logfunc=self._userlog)
self._userlog(' ')
self._log.log(5, "%s.init.", self['STATE'])
##########
statefunc = state.main
......@@ -334,7 +337,7 @@ class Worker(multiprocessing.Process):
##########
if self.load_request.is_set():
self._log.debug('RELOADING @ %s.run' % self['STATE'])
self._log.info('RELOADING @ %s.run' % self['STATE'])
# get a list of members in the current state object
objects = inspect.getmembers(state)
# reload system
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment