added log_scrape and log_trim
Merge branch 'master' of https://github.com/robertjparks/ogdev