extend stats logging