1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

dmeventd: using warning level

When dmevend notices problems, but continues to operate normally
change log level to warning.
This commit is contained in:
Zdenek Kabelac 2015-10-22 11:14:12 +02:00
parent 9488cbdd0b
commit 590091a4fa

View File

@ -2155,7 +2155,7 @@ int main(int argc, char *argv[])
#ifdef __linux__
/* Systemd has adjusted oom killer for us already */
if (!_systemd_activation && !_protect_against_oom_killer())
log_error("Failed to protect against OOM killer.");
log_warn("WARNING: Failed to protect against OOM killer.");
#endif
_init_thread_signals();
@ -2187,8 +2187,8 @@ int main(int argc, char *argv[])
_unlock_mutex();
if (nothreads)
break;
log_error("There are still devices being monitored.");
log_error("Refusing to exit.");
log_warn("WARNING: There are still devices being monitored.");
log_warn("WARNING: Refusing to exit.");
}
_process_request(&fifos);
_cleanup_unused_threads();