apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Priyanka Gugale <pri...@apache.org>
Subject Re: Programmatic log4j appender in Apex
Date Mon, 10 Apr 2017 06:14:57 GMT
We can always write a custom appender and add it by changing root appender
in log4j config file. Can you explain how adding appender grammatically
would help?

-Priyanka

On Sun, Apr 9, 2017 at 11:50 AM, Sanjay Pujare <sanjay@datatorrent.com>
wrote:

> Please give some examples and/or use cases of this programmatic log4j
> appender.
>
> On Fri, Apr 7, 2017 at 8:40 PM, Sergey Golovko <sergey@datatorrent.com>
> wrote:
>
> > Hi All,
> >
> > I'd like to add supporting of a custom defined log4j appender that can be
> > added to Apex Application Master and Containers and be configurable
> > programmatically.
> >
> > Sometimes it is not trivial to control log4j configuration via log4j
> > properties. And I think the having of the approach to add a log4j
> appender
> > programmatically will allow the customers and developers to plugin their
> > own custom defined log4j appenders and be much flexible for streaming and
> > collection of Apex log events.
> >
> > I assume to provide generic approach for definition of the programmatic
> > log4j appender and to pass all configuration parameters including a name
> of
> > the Java class with implementation of the log4j appender via system
> and/or
> > command line properties.
> >
> > Thanks,
> > Sergey
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message