kencochrane/raven-java — pull request #9 by griphiam (2012-03-30 06:05:40+00:00)
Title: Added Queue to Appender

This addresses Issue #8 (though github won't let me attach this request to that specific issue). While the attached code works, there is no control over the queue, which there probably should be. The performance benefits are obviously huge (~20 seconds to send 100 log messages down to 16ms).

Features that might be good to add (let me know which once you feel are good to implement before merging into the main line):

* Toggle in the appender definition to switch between sync and async (log4j.appender.sentry.async=true)
* Some limit on the queue size set in the appender definition (log4j.appender.sentry.queue_size=1000)