mirror of
git://sourceware.org/git/lvm2.git
synced 2025-10-07 15:33:21 +03:00
logging: classify log_debug messages
Place most log_debug() messages into a class.
This commit is contained in:
@@ -119,8 +119,8 @@ static int _extend_buffer(struct formatter *f)
|
||||
{
|
||||
char *newbuf;
|
||||
|
||||
log_debug("Doubling metadata output buffer to %" PRIu32,
|
||||
f->data.buf.size * 2);
|
||||
log_debug_metadata("Doubling metadata output buffer to %" PRIu32,
|
||||
f->data.buf.size * 2);
|
||||
if (!(newbuf = dm_realloc(f->data.buf.start,
|
||||
f->data.buf.size * 2))) {
|
||||
log_error("Buffer reallocation failed.");
|
||||
|
Reference in New Issue
Block a user