write miner debug log to app data directory