summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2015-10-15 16:35:40 -0500
committerDavid Teigland <teigland@redhat.com>2015-11-03 13:37:31 -0600
commit4103896ca02045d1ac13c788031a27e316b0c47a (patch)
tree098d6e8bf46880842375d230a45699d945fe1457
parentd30105f4712d83c89da2e82bb6f5d22dd599a94d (diff)
downloadlvm2-4103896ca02045d1ac13c788031a27e316b0c47a.tar.gz
lvmcache: change log_verbose to log_warn
Without this, some cases miss printing a warning for duplicate PVs.
-rw-r--r--lib/cache/lvmcache.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/cache/lvmcache.c b/lib/cache/lvmcache.c
index 31f2aa9fb..8ab1a3191 100644
--- a/lib/cache/lvmcache.c
+++ b/lib/cache/lvmcache.c
@@ -1784,9 +1784,9 @@ struct lvmcache_info *lvmcache_add(struct labeller *labeller, const char *pvid,
* been chosen during a previous populating of
* lvmcache, so just use the existing preferences.
*/
- log_verbose("Found duplicate PV %s: using existing dev %s",
- pvid_s,
- dev_name(existing->dev));
+ log_warn("Found duplicate PV %s: using existing dev %s",
+ pvid_s,
+ dev_name(existing->dev));
return NULL;
}