]> sourceware.org Git - lvm2.git/commit
libdaemon: Draft logging infrastructure.
authorPetr Rockai <prockai@redhat.com>
Wed, 8 Aug 2012 07:41:01 +0000 (09:41 +0200)
committerPetr Rockai <prockai@redhat.com>
Wed, 8 Aug 2012 07:44:19 +0000 (09:44 +0200)
commitb61be643701d05bb12e0b2e32085f312a1f121bf
tree989fc2daddcefb789262818129d797af83984b21
parent7ecccc3099c854bd9a993b360974a9f52a746131
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
daemons/lvmetad/lvmetad-core.c
libdaemon/server/Makefile.in
libdaemon/server/daemon-log.c [new file with mode: 0644]
libdaemon/server/daemon-log.h [new file with mode: 0644]
libdaemon/server/daemon-server.c
libdaemon/server/daemon-server.h
test/lib/aux.sh
This page took 0.041388 seconds and 5 git commands to generate.