Clean up logs.