Only call log when deprecations exist