Fix compilation of non-debug builds.
Remove high-frequency log output in critical places.

"Critical place" meaning places where a logger that itself yields could cause strange effects/errors.