I don't really like that both the derived and the ancestor class has provides the same method and they.need to be called separately.
I think the one provided by threaded-dest-driver should be renamed to something else.
Gergely Nagy <algernon@balabit.hu> writes:
> No, it's not the correct fix as it turns out, as init_method() will
> override functions set earlier, if moved to later. So init_method()
> needs to be a little smarter too.
I ended up doing something else: I split the
log_dest_driver_init_method() and log_threaded_dest_driver_init_method()
invocations, the modules do both now. They do the firt in the beginning,
the other one at the end. The _start_driver() function was merged into
log_threaded_dest_driver_init_method() too.
All LogThrDestDriver users in syslog-ng itself and in the Incubator have
been updated accordingly.
--
|8]
______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.balabit.com/wiki/syslog-ng-faq