move deprecation logging into bucket