Geode is using log4j2, so all you need to do is provide a log4j2
configuration file and you can use any log4j2 appenders, including the
socket appender. Geode has a default log4j2.xml file, but if you provide
your own it will use that instead.

https://logging.apache.org/log4j/2.x/manual/configuration.html

-Dan

On Wed, Sep 2, 2015 at 2:01 PM, Roman Shaposhnik <[email protected]>
wrote:

> On Wed, Sep 2, 2015 at 1:58 PM, Catherine Johnson
> <[email protected]> wrote:
> > Is there a way in Geode to listen directly to the log4j events on some
> port, rather
> > than picking them up in the file? I am interested in streaming the
> events into the ELK
> > stack, rather than picking up the logs after the fact.
>
> Isn't it just a question of configuring a SocketAppender as a log4j
> appender in Geode?
>
> Thanks,
> Roman.
>

Reply via email to