From cc19cc07f7a1aa4a45f6044a7eb4686f6d5dcf69 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Mon, 31 Oct 2016 18:00:53 +0100 Subject: [PATCH] log_info to log_warn Switch to log_warn level when we are reporting these message. --- daemons/dmeventd/plugins/mirror/dmeventd_mirror.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemons/dmeventd/plugins/mirror/dmeventd_mirror.c b/daemons/dmeventd/plugins/mirror/dmeventd_mirror.c index ee108742d..765341355 100644 --- a/daemons/dmeventd/plugins/mirror/dmeventd_mirror.c +++ b/daemons/dmeventd/plugins/mirror/dmeventd_mirror.c @@ -107,7 +107,7 @@ static int _remove_failed_devices(const char *cmd_lvscan, const char *cmd_lvconv int r; if (!dmeventd_lvm2_run_with_lock(cmd_lvscan)) - log_info("Re-scan of mirrored device failed."); + log_warn("WARNING: Re-scan of mirrored device failed."); /* if repair goes OK, report success even if lvscan has failed */ r = dmeventd_lvm2_run_with_lock(cmd_lvconvert); @@ -168,7 +168,7 @@ void process_event(struct dm_task *dmt, break; default: /* FIXME Provide value then! */ - log_info("Unknown event received."); + log_warn("WARNING: %s received unknown event.", device); } } while (next); }