More cleanup and making logscraper leaner

Signed-off-by: Prasanna Santhanam <tsp@apache.org>