logging traceback on mining process