diff options
author | Petr Rockai <prockai@redhat.com> | 2012-08-08 09:41:01 +0200 |
---|---|---|
committer | Petr Rockai <prockai@redhat.com> | 2012-08-08 09:44:19 +0200 |
commit | b61be643701d05bb12e0b2e32085f312a1f121bf (patch) | |
tree | 989fc2daddcefb789262818129d797af83984b21 /lib | |
parent | 7ecccc3099c854bd9a993b360974a9f52a746131 (diff) | |
download | lvm2-b61be643701d05bb12e0b2e32085f312a1f121bf.tar.gz lvm2-b61be643701d05bb12e0b2e32085f312a1f121bf.tar.xz lvm2-b61be643701d05bb12e0b2e32085f312a1f121bf.zip |
libdaemon: Draft logging infrastructure.
- logging is not controlled by "levels" but by "types"; types are
independent of each other... implementation of the usual "log level"
user-level semantics can be simply done on top; the immediate
application is enabling/disabling wire traffic logging independently
of other debug data, since the former is rather bulky and can easily
obscure almost everything else
- all logs go to "outlets", of which we currently have 2: syslog and
stderr; which "types" go to which "outlets" is entirely configurable
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions