mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-11 20:58:50 +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:
parent
9488cbdd0b
commit
590091a4fa
@ -2155,7 +2155,7 @@ int main(int argc, char *argv[])
|
|||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
/* Systemd has adjusted oom killer for us already */
|
/* Systemd has adjusted oom killer for us already */
|
||||||
if (!_systemd_activation && !_protect_against_oom_killer())
|
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
|
#endif
|
||||||
|
|
||||||
_init_thread_signals();
|
_init_thread_signals();
|
||||||
@ -2187,8 +2187,8 @@ int main(int argc, char *argv[])
|
|||||||
_unlock_mutex();
|
_unlock_mutex();
|
||||||
if (nothreads)
|
if (nothreads)
|
||||||
break;
|
break;
|
||||||
log_error("There are still devices being monitored.");
|
log_warn("WARNING: There are still devices being monitored.");
|
||||||
log_error("Refusing to exit.");
|
log_warn("WARNING: Refusing to exit.");
|
||||||
}
|
}
|
||||||
_process_request(&fifos);
|
_process_request(&fifos);
|
||||||
_cleanup_unused_threads();
|
_cleanup_unused_threads();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user