mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
log_info to log_warn
Switch to log_warn level when we are reporting these message.
This commit is contained in:
parent
e3775173b4
commit
cc19cc07f7
@ -107,7 +107,7 @@ static int _remove_failed_devices(const char *cmd_lvscan, const char *cmd_lvconv
|
|||||||
int r;
|
int r;
|
||||||
|
|
||||||
if (!dmeventd_lvm2_run_with_lock(cmd_lvscan))
|
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 */
|
/* if repair goes OK, report success even if lvscan has failed */
|
||||||
r = dmeventd_lvm2_run_with_lock(cmd_lvconvert);
|
r = dmeventd_lvm2_run_with_lock(cmd_lvconvert);
|
||||||
@ -168,7 +168,7 @@ void process_event(struct dm_task *dmt,
|
|||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
/* FIXME Provide value then! */
|
/* FIXME Provide value then! */
|
||||||
log_info("Unknown event received.");
|
log_warn("WARNING: %s received unknown event.", device);
|
||||||
}
|
}
|
||||||
} while (next);
|
} while (next);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user