clean up logs.