]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib: lib-event - Add support for dropping log prefixes introduced by parent events.
authorStephan Bosch <stephan.bosch@open-xchange.com>
Thu, 25 Jul 2019 23:57:44 +0000 (01:57 +0200)
committerTimo Sirainen <timo.sirainen@open-xchange.com>
Fri, 26 Jul 2019 19:58:11 +0000 (19:58 +0000)
commit704880b6dcae6ebdc22a81ef1e8a5540d4480560
tree46683062f86eb5c230f25193089e1237ba99e893
parent9dc98040060a213177d6c43db077cbdcaf4c8ae3
lib: lib-event - Add support for dropping log prefixes introduced by parent events.

This allows dropping a specific number prefixes from parents when this event is
used for logging. This does not affect the parent events. This only counts
actual prefixes and not  parents. If the count is higher than the actual number
of prefixes added by parents, all will be dropped.
src/lib/event-log.c
src/lib/lib-event-private.h
src/lib/lib-event.c
src/lib/lib-event.h
src/lib/test-event-log.c