interesting results from the testing.
when sending a stead ~78,500 logs/sec (roughly what the output can keep up with) the first second of a min is spread between the two files.
as time goes on it seems like more and more of that second makes it into the logs (more testing to follow)
but I am seeing
15616
62511
17015
61131
18342
29756
19742
57986
21305
56866
23062
55119
24350
53801
so it's getting ~99% of the logs from that second, but the time of the cutover seems to be drifting forward.
when I opened the sender up to 300,000 logs/sec it looses about 90% of the first second of logs after the restart.
are you going to modify the HUP so that it doesn't clear the queue? that would seem like the correct thing to do (you are wanting to roll the output file, but there's no need to change the queue at all)
the approach I would have taken would be to have the output module check to see if the FD exists when it goes to do a write, and if it's not initialize the FD. then a HUP just closes all the FDs. This would work with network connects as well as files (fixed and dynamic names)


