Major revisions to logparsing example