Duplicate events when adding Appender Listener? #885
Replies: 1 comment 2 replies
-
What you are reporting looks very strange indeed :-( The only reason I see so far that may cause an event to be forwarded twice to the wrapped appender is if the Disruptor EventHandler does not update the sequence correctly (this is handled by Some more information would definitely be useful to troubleshoot this issue. |
Beta Was this translation helpful? Give feedback.
-
I've added a custom appender listener that will write events to Sentry -- nothing very complicated -- and now I'm seeing duplicate log entries in some cases. I know they're duplicates because I have a unique id added to each LoggingEvent, and I'm seeing the same @id entry in there twice -- and this wasn't happening before I added the listener. This is happening on the local filesystem, so it's not filebeat or some log aggregation bug.
I'm still tracking down this issue so I don't have enough data to determine whether it's a bug in the async appender, but I don't see how I could get the same event written out twice otherwise.
Any thoughts?
Beta Was this translation helpful? Give feedback.
All reactions