Please give some examples and/or use cases of this programmatic log4j appender.
On Fri, Apr 7, 2017 at 8:40 PM, Sergey Golovko <ser...@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 >