Additional refactor of log viewer

Spenser Shumaker <sshumake@redhat.com>