結果 : how to log stack trace in python