TOSQUASH: debug mode loglevel

sigintsaviour_citesthackin
Tyler Goodlet 2022-07-06 10:49:59 -04:00
parent 20acb50d94
commit 8537e17251
1 changed files with 1 additions and 2 deletions

View File

@ -127,8 +127,7 @@ async def open_root_actor(
"Debug mode is only supported for the `trio` backend!"
)
loglevel = log._default_loglevel = loglevel.upper()
assert loglevel
loglevel = (loglevel or log._default_loglevel).upper()
log.get_console_log(loglevel)
# make a temporary connection to see if an arbiter exists