made Log optional for Miner