Log about the loglevel

contexts
Tyler Goodlet 2019-01-16 17:09:30 -05:00
parent c58a6ea80f
commit 76f7ae5cf4
1 changed files with 2 additions and 0 deletions

View File

@ -453,6 +453,8 @@ class Actor:
self._forkserver_info = forkserver_info
from ._trionics import ctx
if self.loglevel is not None:
log.info(
f"Setting loglevel for {self.uid} to {self.loglevel}")
get_console_log(self.loglevel)
log.info(
f"Started new {ctx.current_process()} for {self.uid}")