Adding logging when api/stats
Change executable