had some junk text left over in previous commit.
Refactored so that log caching is part of view and not logger.