diff --git a/WHATS_NEW b/WHATS_NEW index 697e4d255..249db0b91 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.99 - =================================== + Log output also to syslog when abort_on_internal_error is set. Add LV snapshot support to liblvm and python-lvm. Avoid a global lock in pvs when lvmetad is in use. Fix crash in pvscan --cache -aay triggered by non-mda PV. diff --git a/lib/log/log.c b/lib/log/log.c index d50cb4a42..3c357f184 100644 --- a/lib/log/log.c +++ b/lib/log/log.c @@ -344,9 +344,6 @@ void print_log(int level, const char *file, int line, int dm_errno, va_end(ap); } - if (fatal_internal_error) - abort(); - if (level > debug_level()) return; @@ -368,6 +365,9 @@ void print_log(int level, const char *file, int line, int dm_errno, va_end(ap); } + if (fatal_internal_error) + abort(); + /* FIXME This code is unfinished - pre-extend & condense. */ if (!_already_logging && _log_direct && critical_section()) { _already_logging = 1;