Hi,

While implementing an *org.apache.logging.log4j.core.Appender*, the only
*append()* method that needs to be implemented takes a single *LogEvent*
argument: *void append(LogEvent event)*. This makes it impossible to handle
and resolve batch append operations at the appender level. This results in
enforcing the appender to implement its own *BurstFilter* and/or
*AsyncFilter* logic. Am I missing something or is this really the case?

As a concrete example, in RedisAppender
<https://github.com/vy/log4j2-redis-appender>, I would like to throttle log
events. But sticking in *BurstFilter* and/or *AsyncFilter* does not help me
to handle requests in batches. I still need to find my way around in the
*append(LogEvent)* calls.

Cheers!

Reply via email to