Moving state message to logging.