Start logging statistics