dump log to file for remote debug purposes