log miner to file