Hello,

Thank you for your reply. I was looking for an out-of-the box appender that
I could reuse but after some digging I believe there isn't one. So I wrote
a custom appender, which is apparently extremely easy.

In the log4j configuration I now simply specify the URL to the REST service
and the appender does a simple HTTP POST with the log message as content.


Kind regards,
Youri


On 12 November 2014 13:24, Ralph Goers <[email protected]> wrote:

> Of course it is possible, but sending events 1 at a time could be a
> performance problem with high volume.  In addition, we would have to define
> the REST api - it can't be arbitrary.
>
> Perhaps you could explain what you are trying to do?
>
> Ralph
>
> > On Nov 12, 2014, at 4:01 AM, youri flement <[email protected]>
> wrote:
> >
> > Hello,
> >
> > I was wondering if it is possible to configure Log4j to send my logs to a
> > REST service?
> > I have taken a look at the SocketAppender but I don't think that's what
> I'm
> > looking for.
> >
> >
> > Kind regards,
> > Youri
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to