Re: what version are RollingFileAppender.newBuilder() and RollingFileAppender.Builder.setConfiguration supported in?

2018-01-16 Thread Gary Gregory
I just added @since 2.7 to two places in RollingFileAppender.java. Gary On Tue, Jan 16, 2018 at 2:26 PM, Ralph Goers wrote: > We should make it a common practice to add @since tags on anything that > isn’t a 1.0 release. > > Ralph > > > On Jan 16, 2018, at 2:22 PM,

Re: what version are RollingFileAppender.newBuilder() and RollingFileAppender.Builder.setConfiguration supported in?

2018-01-16 Thread Ralph Goers
We should make it a common practice to add @since tags on anything that isn’t a 1.0 release. Ralph > On Jan 16, 2018, at 2:22 PM, Gary Gregory wrote: > > It looks like RollingFileAppender.Builder and RollingFileAppender.newBuilder() > were added for 2.7. > > Gary > >

Re: what version are RollingFileAppender.newBuilder() and RollingFileAppender.Builder.setConfiguration supported in?

2018-01-16 Thread Mike Wertheim
I'm working on a system that is composed of over a hundred microservices, and many of them are on various older versions of log4j2. There is an in-house library that many of the microservices share, and the library has some logging configuration code, so I'm trying to figure out the relationship

Re: what version are RollingFileAppender.newBuilder() and RollingFileAppender.Builder.setConfiguration supported in?

2018-01-16 Thread Gary Gregory
In general, you should be using the current version 2.10.0. Any reason you are digging deep into old versions? Also, I've not been very strict about using @since in log4j-core. In log4j-api, we are very careful to do it all "right."" Gary On Tue, Jan 16, 2018 at 12:41 PM, Mike Wertheim

what version are RollingFileAppender.newBuilder() and RollingFileAppender.Builder.setConfiguration supported in?

2018-01-16 Thread Mike Wertheim
https://logging.apache.org/log4j/2.x/log4j-core/apidocs/org/apache/logging/log4j/core/appender/RollingFileAppender.html describes a method called "newBuilder". This method doesn't have a "since" version, so I would assume that it's supported in all log4j2 versions. However, the expression

Re: [External] Re: Log4j2 Async logger fallback method

2018-01-16 Thread Fröstl , Christian
Hi Mikael, Unfortunately it is not working in my setup to include the log4j2.component.properties file. I am not possible at the moment to configure the another asyncQueueFullPolicy. I tried the following ways: (we are using Hybris) First Try: 1. Configure the asynclogger with xml