Revert "Revert "Use debug level instead of info for logging, and some logging performance improvements""

This reverts commit d7c2463abd8fc265e7a657ded00c6f5330c50a27.