Suppress repeated lines in the log output

Fixes #9