~registry/lvm2/master

Viewing all changes in revision 7309.

  • Committer: Alasdair G Kergon
  • Date: 2013-01-07 22:25:19 UTC
  • Revision ID: git-v1:7f747a0d739c08eadf319da9c3973f83c97c82af
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.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: