Commit 55cfb2ae authored by Jameson Rollins's avatar Jameson Rollins

clarify worker log prefix during state enter/init

parent b84801fd
......@@ -681,7 +681,6 @@ guardian version: {}
# if we're entering a state, execute MAIN
elif self['STATUS'] == 'ENTER':
self.message("executing state: %s (%s)" % (self['STATE'], self.system.index(self['STATE'])))
self.log.info("[%s.enter]" % self['STATE'])
self['STATUS'] = 'MAIN'
# if this is a redirect, transition to the redirect
......
......@@ -321,12 +321,12 @@ class Worker(multiprocessing.Process):
self.load_request.clear()
self._log.debug('RELOAD @ %s.main' % self['STATE'])
self._log.log(5, "%s.init:", self['STATE'])
self._log.log(5, "%s.enter:", self['STATE'])
self._statelogger.set_state(self['STATE'])
self._statelogger.set_func('init')
self._statelogger.set_func('enter')
state = self._system[self['STATE']](logfunc=self._userlog)
self._userlog(' ')
self._log.log(5, "%s.init.", self['STATE'])
self._log.log(5, "%s.enter.", self['STATE'])
##########
......
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