changed rotation logger to use new last state api (w/ migration)