Fix test hangs by disabled logger level