Adding light stats logging