結果 : python redirect sys stdout to logging