1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/libdm/misc
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
..
dm-ioctl.h dmsetup: allow --noflush with status/wait for thin 2012-07-27 20:03:07 +01:00
dm-log-userspace.h cmirrord now returns log name to kernel in CTR so it can be registered 2011-10-14 14:18:49 +00:00
dm-logging.h logging: add debug classes 2013-01-07 22:25:19 +00:00
dmlib.h more tweaking to get things to compile - dmlib.h for log fns, list.h 2008-11-03 18:59:59 +00:00
kdev_t.h Add libdm subdir to begin merging the device-mapper tree. 2008-10-30 15:31:33 +00:00