Only log stats when active