logger for statistics