deprecate analytics, update logger