fluent-bit-go icon indicating copy to clipboard operation
fluent-bit-go copied to clipboard

FLBPluginExit() is not called when SIGINT is sent to the FB process

Open bgola-signalfx opened this issue 6 years ago • 3 comments

Reproduced on Fluent Bit 1.2.2 using out_multiinstance plugin.

Simply add log.Print("FLBPluginExit called") to the FLBPluginExit and notice the message is not logged when FB is stopped.

bgola-signalfx avatar Sep 16 '19 20:09 bgola-signalfx

See https://github.com/fluent/fluent-bit/issues/1421, which is resolved in Fluent Bit v1.4.

l2dy avatar Mar 27 '20 01:03 l2dy

I don't think it is resolved. I am using fluent bit 1.4.2 and I add a log.Print("FLBPluginExit called") in FLBPluginExit. And I didn't see that

huzhou avatar Apr 23 '20 18:04 huzhou

Sorry, it is resolved. I can see it now

huzhou avatar Apr 23 '20 20:04 huzhou

Already done by https://github.com/fluent/fluent-bit/pull/1426.

cosmo0920 avatar Nov 30 '22 03:11 cosmo0920