add stats logging with max 600 values backlog