log deprecation warnings