Make logging less verbose on release builds.