18 Oct
2013
18 Oct
'13
4:10 p.m.
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]