write CLI error traceback to log file