mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
Suppress meaningless <backtrace> msg on screen (no prog/line number given)
This commit is contained in:
parent
bf1b684e2e
commit
078cab224b
@ -95,6 +95,8 @@ void print_log(int level, const char *file, int line, const char *format, ...) {
|
||||
va_start(ap, format);
|
||||
switch(level) {
|
||||
case _LOG_DEBUG:
|
||||
if (!strcmp("<backtrace>", format))
|
||||
break;
|
||||
if (_verbose_level > 2) {
|
||||
printf("%s%s", _cmd_name, _msg_prefix);
|
||||
if (_indent)
|
||||
|
Loading…
Reference in New Issue
Block a user