Hi all,

I just went ahead and filed an initial PR here:
https://github.com/apache/logging-log4j2/pull/206. No copying from GPL code
involved! I'd be happy to make any changes needed to merge.

Thanks,
Kevin


On Tue, Aug 7, 2018 at 1:51 PM, Gary Gregory <garydgreg...@gmail.com> wrote:

> IOW, think clean room.
>
> G
>
> On Tue, Aug 7, 2018 at 11:50 AM Gary Gregory <garydgreg...@gmail.com>
> wrote:
>
> > If you provide a PR for this new appender, please make sure there is no
> > copying from GPL code...
> > Thank you!
> > Gary
> >
> > On Tue, Aug 7, 2018 at 10:57 AM Kevin Meurer <kevin.a.meu...@gmail.com>
> > wrote:
> >
> >> That sounds good to me. I would be happy to update the site with
> >> appropriate language on the different approaches when submitting the
> >> feature. I'll go ahead and write an appender implementation for you and
> >> other maintainers to review. I went ahead and opened LOG4J2-2400 to
> track
> >> implementation here.
> >>
> >> Kevin
> >>
> >> On Tue, Aug 7, 2018 at 12:22 PM, Ralph Goers <
> ralph.go...@dslextreme.com>
> >> wrote:
> >>
> >> > OK. I would recommend that the doc for the component describe that use
> >> > case.  I would think we also could add another page or two to the web
> >> site
> >> > to compare the various ways of doing these things.
> >> >
> >> > Ralph
> >> >
> >> > > On Aug 7, 2018, at 8:44 AM, Kevin Meurer <kevin.a.meu...@gmail.com>
> >> > wrote:
> >> > >
> >> > > I completely agree that the typical use case of Redis is a
> distributed
> >> > > cache. That said, it also functions well as a temporary queue for
> >> event
> >> > > data en route to another data store. For example, Redis may be used
> to
> >> > > improve the fault-tolerance of a logging pipeline by serving as an
> >> > > intermediary en route to a separate storage layer (i.e. log4j2 ->
> >> Redis
> >> > <-
> >> > > Logstash -> Elasticsearch).
> >> > >
> >> > >
> >> > > Kafka is well-suited for these use cases, but Redis may be preferred
> >> if
> >> > > users want an in-memory broker rather than one that writes to disk.
> >> > >
> >> > >
> >> > > Kevin
> >> > >
> >> > >
> >> > >
> >> > > On 2018/08/07 15:24:31, Ralph Goers <r...@dslextreme.com> wrote:
> >> > >
> >> > >> While I wouldn’t be opposed to a Redis Appender, I would find it a
> >> > > strange use of Redis. Normally, Redis is used as a distributed
> cache,
> >> not
> >> > > as a place to store log evens. Can you explain what the use case
> >> would be
> >> > > when using it?>
> >> > >
> >> > >>
> >> > >
> >> > >> Ralph>
> >> > >
> >> > >>
> >> > >
> >> > >>> On Aug 7, 2018, at 8:05 AM, Kevin Meurer <ke...@gmail.com>
> wrote:>
> >> > >
> >> > >>>>
> >> > >
> >> > >>> Hi all,>
> >> > >
> >> > >>>>
> >> > >
> >> > >>> I wanted to float the idea of folding a Redis log4j2 appender into
> >> the>
> >> > >
> >> > >>> log4j2 repository or releasing a canonical version under the
> Apache
> >> > > license.>
> >> > >
> >> > >>>>
> >> > >
> >> > >>> As you might be aware, one repository>
> >> > >
> >> > >>> <https://github.com/vy/log4j2-redis-appender> currently exists to
> >> meet
> >> > > this>
> >> > >
> >> > >>> need, but it is licensed under GPL and therefore not usable for a
> >> > > variety>
> >> > >
> >> > >>> of contexts. I think of a Redis appender as potentially analogous
> to
> >> > > the>
> >> > >
> >> > >>> existing Kafka Appender, as Redis is often used in a similar
> message
> >> > > broker>
> >> > >
> >> > >>> context.>
> >> > >
> >> > >>>>
> >> > >
> >> > >>> Is this something I could potentially add support for in log4j2?
> If
> >> > > not, is>
> >> > >
> >> > >>> there interest in an effort to create a separate repository to
> meet
> >> > > this>
> >> > >
> >> > >>> need?>
> >> > >
> >> > >>>>
> >> > >
> >> > >>> Any input would be appreciated.>
> >> > >
> >> > >>>>
> >> > >
> >> > >>> Thanks,>
> >> > >
> >> > >>> Kevin Meurer (kmeurer <https://github.com/kmeurer>)>
> >> > >
> >> > >>
> >> > >
> >> > >>
> >> > >
> >> > >>
> >> >
> >> >
> >> >
> >>
> >
>

Reply via email to