fix python3 logger tests support