prune logs Fixes #2