removed print logging