1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/lib/commands
Alasdair G Kergon 7f747a0d73 logging: add debug classes
Add log/debug_classes to lvm.conf to allow debug messages to be
classified and filtered at runtime.

The dm_errno field is only used by log_error(), so I've redefined it
for log_debug() messages to hold the message class.

By default, all existing messages appear, but we can add categories that
generate high volumes of data, such as logging all traffic to/from
lvmetad.
2013-01-07 22:25:19 +00:00
..
errors.h pre-release tidy up 2009-06-30 18:39:31 +00:00
toolcontext.c logging: add debug classes 2013-01-07 22:25:19 +00:00
toolcontext.h logging: add debug classes 2013-01-07 22:25:19 +00:00