move traceback output to log