log stats from cgminer

this version is working