Clear obsolete logs