batchSize without having to configure ajaxAppender
We would like to be able to configure batchSize without having to add an ajaxAppender xml node (ie onto the default appender).
Thanks for your suggestion. I would agree it would be nice to have this, so I've marked it as an enhancement. However, to me it doesn't have high priority.
I'll take care of it! Let me know if there's a direction you can point me in!
I guess you're after a syntax like this:
To be honest, I'm a bit dubious about this:
- I'm not sure about the business value. I would agree that it is a bit of a pain to have to create a new appender if you want a non-default batchSize or Url, or whatever, but it is not that hard (create appender, assign to root logger so all loggers pick it up).
<ajaxAppender
name="appender1"
bufferSize="20"/>
- It is a relatively big change, in that when you define an appender, in the current implementation you actually create a new appender, while you want to modify an existing appender.
Big change = big risk. Plus backwards compatibility is really very important to me.
However, I do have an open mind on this. If you find a low risk way of implementing this feature, please let me know.