fix loglevels
whitespace cleanup
Scan only the added lines, fixes #10