logging is just consuming too much cpu