Suppress logging in release builds.