spec code added

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