Spec code added into view_logger_spec

This just adds some code that was commented out in the 'extract read-logs' pull request.