Ensure correct value is logged in config deprecation warning