Moved logging before persistent logging.