結果 : python use logging instead of print