Re: org.apache.logging.log4j.core.config.Configurator.initialize(String, String)

2017-04-11 Thread Remko Popma
t; behavior. > > Sent from my iPhone > >> On Apr 11, 2017, at 5:47 PM, Remko Popma wrote: >> >> I can see both sides of the argument. >> >> Rather than changing the semantics of the existing method, what about adding >> a method `Configurator.init

Re: org.apache.logging.log4j.core.config.Configurator.initialize(String, String)

2017-04-11 Thread Remko Popma
I can see both sides of the argument. Rather than changing the semantics of the existing method, what about adding a method `Configurator.initializeStrict(String, String)` which fails if the specified file doesn't exist? Not sure what the best way to fail is: return null or throw exception...

Re: Configuration file discovery

2017-04-11 Thread Remko Popma
A better error message sounds like a good idea. If you make a Jira ticket for this, please make it part of the "ergonomics" epic: https://issues.apache.org/jira/browse/LOG4J2-1811 On Tue, Apr 11, 2017 at 9:19 PM, Mikael Ståldal wrote: > Some configuration file formats (JSON, YAML) require additi

Re: [14/14] logging-log4j2 git commit: Update BOM

2017-04-11 Thread Remko Popma
>>>> I created a new git repo for log4j2-tools. We should not create any more >>>> modules if we can avoid it. >>>> >>>> Ralph >>>> >>>>> On Apr 10, 2017, at 7:28 AM, Remko Popma wrote: >>>>> >

Re: [14/14] logging-log4j2 git commit: Update BOM

2017-04-10 Thread Remko Popma
he other > tools? > > On Mon, Apr 10, 2017 at 4:23 PM, Remko Popma > wrote: > >> I thought we were going to name this module log4j-tools instead of >> log4j-server, so it can host all our standalone apps? >> >> On Mon, Apr 10, 2017 at 11:11 PM, wrote: >&g

Re: [14/14] logging-log4j2 git commit: Update BOM

2017-04-10 Thread Remko Popma
I thought we were going to name this module log4j-tools instead of log4j-server, so it can host all our standalone apps? On Mon, Apr 10, 2017 at 11:11 PM, wrote: > Update BOM > > > Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo > Commit: http://git-wip-us.apache.org/repos/as

[jira] [Commented] (LOG4J2-1873) Implement UTF-8 encoding that doesn't use CharsetEncoder

2017-04-10 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15962607#comment-15962607 ] Remko Popma commented on LOG4J2-1873: - I'm open to ideas. We did somethin

Re: [ANN] Log4j 2.8.2 released

2017-04-08 Thread Remko Popma
Blogged: https://blogs.apache.org/logging/entry/log4j-2-8-2-released On Sun, Apr 9, 2017 at 1:53 AM, Matt Sicker wrote: > The Apache Log4j 2 team is pleased to announce the Log4j 2.8.2 release! > > Apache Log4j is a well known framework for logging application behavior. > Log4j 2 is an upgrade t

Re: Yet another logging facade

2017-04-06 Thread Remko Popma
Good find. I noticed that the document points to Apache Sling and says "uses the most common parts today used for logging: SLF4J for clients and logback for processing." Seems like Sling decided that in 2013 and never looked back. Which is fine, but I believe Log4j2 has changed the landscape th

Re: MessageLayout

2017-04-03 Thread Remko Popma
So, exceptions are swallowed and no newlines are rendered? Interesting. What's the use case? Sent from my iPhone > On Apr 4, 2017, at 7:30, Gary Gregory wrote: > > Hi All, > > I am considering a new layout called "MessageLayout" which would be > synonymous with:. Thoughts? > > Gary > > --

[jira] [Commented] (LOG4J2-1857) Listing all Loggers via JMX

2017-03-27 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15942847#comment-15942847 ] Remko Popma commented on LOG4J2-1857: - Yes, good idea. I am swamped with other

[jira] [Comment Edited] (LOG4J2-1857) Listing all Loggers via JMX

2017-03-27 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15942847#comment-15942847 ] Remko Popma edited comment on LOG4J2-1857 at 3/27/17 8:4

[jira] [Comment Edited] (LOG4J2-1857) Listing all Loggers via JMX

2017-03-26 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15942265#comment-15942265 ] Remko Popma edited comment on LOG4J2-1857 at 3/26/17 12:5

[jira] [Updated] (LOG4J2-1857) Listing all Loggers via JMX

2017-03-26 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma updated LOG4J2-1857: Description: How can I list all loggers via JMX / jolokia? (was: Who I can list all logger via

[jira] [Commented] (LOG4J2-1857) List all Loger via JMx

2017-03-26 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15942265#comment-15942265 ] Remko Popma commented on LOG4J2-1857: - Does this work for you? {

[jira] [Closed] (LOG4J2-1370) Log4j2 cannot get env. variable

2017-03-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma closed LOG4J2-1370. --- Resolution: Resolved User reported that a they could not reproduce the issue any more after

[jira] [Resolved] (LOG4J2-1849) Broken FixedDateFormat tests when daylight saving time starts

2017-03-15 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma resolved LOG4J2-1849. - Resolution: Fixed Fix Version/s: 2.8.2 Fixed in commit c822338. Please verify and close

Re: Java 9 support

2017-03-15 Thread Remko Popma
Sorry, no idea. A separate repo sounds cleaner, but I haven't spent as much time as you thinking about this, so perhaps I'm wrong. It would be nice to not require Java 9 unless you want to compile the StackWalker stuff... On Thu, Mar 16, 2017 at 12:07 AM, Ralph Goers wrote: > I know how to impl

[jira] [Updated] (LOG4J2-1841) Problems with consequences after LOG4J2-248

2017-03-15 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma updated LOG4J2-1841: Fix Version/s: 2.8.2 Setting fix version to prevent this issue from dropping below the horizon

[jira] [Commented] (LOG4J2-1849) Broken FixedDateFormat tests when daylight saving time starts

2017-03-15 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15926127#comment-15926127 ] Remko Popma commented on LOG4J2-1849: - Thanks for the test. I will need to modif

[jira] [Commented] (LOG4J2-1849) Broken FixedDateFormat tests when daylight saving time starts

2017-03-14 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15924232#comment-15924232 ] Remko Popma commented on LOG4J2-1849: - I've started to look at this. Th

[jira] [Assigned] (LOG4J2-1849) Broken FixedDateFormat tests when daylight saving time starts

2017-03-13 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma reassigned LOG4J2-1849: --- Assignee: Remko Popma > Broken FixedDateFormat tests when daylight saving time sta

[jira] [Comment Edited] (LOG4J2-1359) Add support for Java 9 StackWalker API in ReflectionUtil

2017-03-11 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15906209#comment-15906209 ] Remko Popma edited comment on LOG4J2-1359 at 3/11/17 2:0

[jira] [Comment Edited] (LOG4J2-1359) Add support for Java 9 StackWalker API in ReflectionUtil

2017-03-11 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15906209#comment-15906209 ] Remko Popma edited comment on LOG4J2-1359 at 3/11/17 2:0

[jira] [Commented] (LOG4J2-1359) Add support for Java 9 StackWalker API in ReflectionUtil

2017-03-11 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15906209#comment-15906209 ] Remko Popma commented on LOG4J2-1359: - Is it possible to compile only one class

[jira] [Comment Edited] (LOG4J2-1844) Not the correct value of the month in the log

2017-03-10 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15905468#comment-15905468 ] Remko Popma edited comment on LOG4J2-1844 at 3/10/17 5:4

[jira] [Resolved] (LOG4J2-1844) Not the correct value of the month in the log

2017-03-10 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma resolved LOG4J2-1844. - Resolution: Not A Problem I believe the specified pattern is wrong and should be {{ %d\{-MM

[jira] [Updated] (LOG4J2-1844) Not the correct value of the month in the log

2017-03-10 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma updated LOG4J2-1844: Description: if pattern contains Month like {{%d\{-mm-dd HH:mm:ss.SSS\}}} log has wrong Month

[jira] [Assigned] (LOG4J2-1844) Not the correct value of the month in the log

2017-03-10 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma reassigned LOG4J2-1844: --- Assignee: Remko Popma > Not the correct value of the month in the

[jira] [Commented] (LOG4J2-1841) Problems with consequences after LOG4J2-248

2017-03-09 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15903193#comment-15903193 ] Remko Popma commented on LOG4J2-1841: - Sounds like we should roll back LOG4J2

Re: [VOTE] Combine the project user and dev mailing lists into user@ and dev@

2017-03-08 Thread Remko Popma
log4j-dev@, log4php-dev@, log4net-dev@, log4cxx-dev@ -> d...@logging.apache.org +1 log4j-user@, log4php-user@, log4net-user@, log4cxx-user@, general@ -> u...@logging.apache.org Interesting discussion. I can see both pros and cons. How will this work for users currently subscribed to log4j-use

Re: Roadmap for 2.8.1

2017-03-07 Thread Remko Popma
dent in both ways, right? >>> >>> I think I have coordination between log4j-scala and Scala language covered >>> already. >>> >>>> On Fri, Mar 3, 2017 at 10:19 AM, Remko Popma wrote: >>>> Mikael, you probably need to plan your versioning scheme t

Re: Performance page for next release.

2017-03-03 Thread Remko Popma
; I think we should keep the current doc pages on the site perhaps under a > different heading. This would be interesting for people who cannot keep up > with the latest. > > Gary > >> On Fri, Mar 3, 2017 at 1:20 PM, Remko Popma wrote: >> Yes but only the JMH benchm

Re: Performance page for next release.

2017-03-03 Thread Remko Popma
Ok. I'll focus on those. Sent from my iPhone > On Mar 3, 2017, at 22:49, Ralph Goers wrote: > > I am most concerned with the two things that have been most impacted - the > FileAppenderBenchmark and the MarkerFilterBenchmark. > > Ralph > >> On Mar 3, 2017

[jira] [Commented] (LOG4J2-1259) Log4j threads are leaking on Tomcat shutdown

2017-03-03 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15895092#comment-15895092 ] Remko Popma commented on LOG4J2-1259: - Do you want to provide a patch for the Lo

Re: Performance page for next release.

2017-03-03 Thread Remko Popma
Yes but only the JMH benchmarks. Is that acceptable? The latency tests and the non-JMH Async Logger tests are too involved... One thing to bear in mind, we carefully documented the versions of the libraries we compared against with our benchmark results. The fact that newer versions of these l

Re: Roadmap for 2.8.1

2017-03-03 Thread Remko Popma
og4j-scala also have a dependency on log4j-api, >>>>>> and I think we want to keep that in sync. >>>>>> >>>>>> >>>>>>>> On Tue, Feb 28, 2017 at 4:08 PM, Matt Sicker wrote: >>>>>>>> One issue

Re: [ANNOUNCEMENT] Apache Log4j 2.8.1 released

2017-03-02 Thread Remko Popma
Blogged: https://blogs.apache.org/logging/entry/log4j-2-8-1-released On Fri, Mar 3, 2017 at 2:27 PM, Ralph Goers wrote: > The Apache Log4j 2 team is pleased to announce the Log4j 2.8.1 release! > > Apache Log4j is a well known framework for logging application behavior. > Log4j 2 is an upgrade

[jira] [Comment Edited] (LOG4J2-1761) Support for standard java queues for the async logger

2017-03-01 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15891237#comment-15891237 ] Remko Popma edited comment on LOG4J2-1761 at 3/1/17 10:5

[jira] [Commented] (LOG4J2-1761) Support for standard java queues for the async logger

2017-03-01 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15891237#comment-15891237 ] Remko Popma commented on LOG4J2-1761: - You can get some of the advantages by u

Re: [VOTE] Release Log4j 2.8.1-rc1

2017-03-01 Thread Remko Popma
Darn, we'll miss each other by 18 hours. Almost indeed! Sent from my iPhone > On Mar 1, 2017, at 20:32, Gary Gregory wrote: > > I land at AMS on March 5 9 AM. Almost! > > Gary > >> On Tue, Feb 28, 2017 at 11:28 PM, Remko Popma wrote: >> >> >>

Re: [VOTE] Release Log4j 2.8.1-rc1

2017-03-01 Thread Remko Popma
+1 Sent from my iPhone > On Feb 27, 2017, at 3:09, Ralph Goers wrote: > > This is a vote to release Log4j 2.8.1 the next version of the Log4j 2 project. > > Please download, test, and cast your votes on the log4j developers list. > [] +1, release the artifacts > [] -1, don't release because...

[jira] [Commented] (LOG4J2-1829) Delete log files older than x days and max size of a log file should be y(MB)

2017-03-01 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15889858#comment-15889858 ] Remko Popma commented on LOG4J2-1829: - Have you seen the Custom Delete ac

Re: [VOTE] Release Log4j 2.8.1-rc1

2017-02-28 Thread Remko Popma
> > Gary > > On Mon, Feb 27, 2017 at 11:36 PM, Remko Popma > wrote: > >> FYI I won't be able to start reviewing until Wednesday (likely evening >> Amsterdam time). >> >> On Mon, Feb 27, 2017 at 3:09 Ralph Goers >> wrote: >> >>> This

Re: Roadmap for 2.8.1

2017-02-27 Thread Remko Popma
To be honest I still don't understand * the vision of what we ultimately want to achieve * how different repos fit into that vision * what different websites we are planning to create to give users access to these different modules * what websites are going to be driven from which modules or proje

Re: [VOTE] Release Log4j 2.8.1-rc1

2017-02-27 Thread Remko Popma
FYI I won't be able to start reviewing until Wednesday (likely evening Amsterdam time). On Mon, Feb 27, 2017 at 3:09 Ralph Goers wrote: > This is a vote to release Log4j 2.8.1 the next version of the Log4j 2 > project. > > Please download, test, and cast your votes on the log4j developers list.

Re: Does ByteBufferDestination.drain() even need an argument?

2017-02-26 Thread Remko Popma
ed for complicated > layouts, but ensuring the write buffer has enough space between each and > every byte would be extremely tedious). > > On 26 February 2017 at 19:48, Remko Popma wrote: > > Similarly to the way the drain() method gives *implementations *the > flexibility t

Re: Does ByteBufferDestination.drain() even need an argument?

2017-02-26 Thread Remko Popma
Similarly to the way the drain() method gives *implementations *the flexibility to return a different ByteBuffer, I wanted to also give *callers *the flexibility to drain a different ByteBuffer. I don't have a concrete use case for it, but I imagined there might be cases where callers overflowed co

Re: Release Notes

2017-02-26 Thread Remko Popma
Afonso Murakami, if you are a chatbot please unsubscribe. You are failing the Turing test. Guys, I suspect someone is trying to train their chatbot on our mailing list... If this continues we may need to unsubscribe it ourselves... On Mon, Feb 27, 2017 at 10:25 AM, Matt Sicker wrote: > I don't

Re: Experimenting with NIO

2017-02-26 Thread Remko Popma
Afonso, are you a robot? On Mon, Feb 27, 2017 at 8:44 AM, Afonso Murakami wrote: > That is great thank you very much for your help > > On Feb 26, 2017, at 3:36 PM, Matt Sicker wrote: > > Afonso, are you on the right mailing list? > > Anyways, I've made more updates to my playground. Without imp

[jira] [Commented] (LOG4J2-1797) Add asynchronous/non-blocking SPIs for appenders

2017-02-24 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15884093#comment-15884093 ] Remko Popma commented on LOG4J2-1797: - Would it be possible to use the

[jira] [Commented] (LOG4J2-1807) [core] Add and implement LogEvent.toImmutable()

2017-02-24 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15884087#comment-15884087 ] Remko Popma commented on LOG4J2-1807: - Looking at the code, I would sug

Re: Undeprecating MessageSupplier

2017-02-24 Thread Remko Popma
Thanks Matt! On Sat, Feb 25, 2017 at 2:47 PM, Matt Sicker wrote: > Changed in https://issues.apache.org/jira/browse/LOG4J2-1823 > > On 24 February 2017 at 12:58, Remko Popma wrote: > >> +1 I'm fine with undeprecating MessageSupplier. >> >> Remko >> >

Re: Undeprecating MessageSupplier

2017-02-24 Thread Remko Popma
+1 I'm fine with undeprecating MessageSupplier. Remko Sent from my iPhone > On Feb 24, 2017, at 19:07, Matt Sicker wrote: > > In log4j-api, the interface MessageSupplier has been deprecated ever since we > realized that we didn't need it and could just use Supplier for > lambda support. Ho

[jira] [Commented] (LOG4J2-1820) Log4j 2.8 can lose exceptions when a security manager is present

2017-02-21 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1820?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15876449#comment-15876449 ] Remko Popma commented on LOG4J2-1820: - Hi Jason, I'm traveling and ma

[jira] [Updated] (LOG4J2-1760) AsyncAppender with LinkedTransferQueue.offer()

2017-02-17 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma updated LOG4J2-1760: Fix Version/s: 2.8.1 > AsyncAppender with LinkedTransferQueue.of

[jira] [Assigned] (LOG4J2-1760) AsyncAppender with LinkedTransferQueue.offer()

2017-02-17 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma reassigned LOG4J2-1760: --- Assignee: Remko Popma > AsyncAppender with LinkedTransferQueue.of

[jira] [Commented] (LOG4J2-1563) Log4j 2.6.2 can lose exceptions when a security manager is present

2017-02-17 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15872993#comment-15872993 ] Remko Popma commented on LOG4J2-1563: - I Saw you raised LOG4J2-1820 for the

[jira] [Commented] (LOG4J2-1807) [core] Add and implement LogEvent.toImmutable()

2017-02-17 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15872545#comment-15872545 ] Remko Popma commented on LOG4J2-1807: - They have different usages. From memory:

[jira] [Commented] (LOG4J2-1807) [core] Add and implement LogEvent.toImmutable()

2017-02-16 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15871191#comment-15871191 ] Remko Popma commented on LOG4J2-1807: - Gary, will do. I'll try to make ti

Re: Async logging and thread name

2017-02-15 Thread Remko Popma
Hi Leon, Yes by default the thread name is cached. There is a system property to switch that off: see https://github.com/apache/logging-log4j2/blob/master/log4j-core/src/main/java/org/apache/logging/log4j/core/async/ThreadNameCachingStrategy.java The reason for the caching is that every call to

Re: RollingAppenderSizeTest failures

2017-02-14 Thread Remko Popma
The new test failure (can't open zip) looks like a one-off... Sent from my iPhone > On Feb 15, 2017, at 9:58, Gary Gregory wrote: > >> On Tue, Feb 14, 2017 at 3:22 PM, Apache wrote: >> What problem before what? >> >> RollingAppenderSizeTest was failing because I was manually trying to delete

[jira] [Closed] (LOG4J2-1816) Fix minOccur in log4j-config.xsd

2017-02-14 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1816?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma closed LOG4J2-1816. --- Resolution: Fixed Pull request accepted in commit 2cb9949. Keep 'em coming! > Fix minOccur

[jira] [Created] (LOG4J2-1816) Fix minOccur in log4j-config.xsd

2017-02-14 Thread Remko Popma (JIRA)
Remko Popma created LOG4J2-1816: --- Summary: Fix minOccur in log4j-config.xsd Key: LOG4J2-1816 URL: https://issues.apache.org/jira/browse/LOG4J2-1816 Project: Log4j 2 Issue Type: Bug Affects

[jira] [Commented] (LOG4J2-1814) Wrapper Generate$ExtendedLogger name inconvenient on Linux

2017-02-13 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15865220#comment-15865220 ] Remko Popma commented on LOG4J2-1814: - That is what I had in mind. Sorry I wa

[jira] [Commented] (LOG4J2-1814) Wrapper Generate$ExtendedLogger name inconvenient on Linux

2017-02-13 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15865065#comment-15865065 ] Remko Popma commented on LOG4J2-1814: - Also, improve the docs to clarify u

[jira] [Updated] (LOG4J2-1814) Wrapper Generate$ExtendedLogger name inconvenient on Linux

2017-02-13 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma updated LOG4J2-1814: Description: The $ExtendedLogger is interpreted as an environment variable. {code} $ java -cp

[jira] [Updated] (LOG4J2-1814) Wrapper Generate$ExtendedLogger name inconvenient on Linux

2017-02-13 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma updated LOG4J2-1814: Description: The $ExtendedLogger is interpreted as an environment variable. {code} $ java -cp

[jira] [Updated] (LOG4J2-1814) Wrapper Generate$ExtendedLogger name inconvenient on Linux

2017-02-13 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma updated LOG4J2-1814: External issue URL: https://gist.github.com/sdwsk/47b86d243023b1583d340889a89639f6 > Wrap

[jira] [Created] (LOG4J2-1814) Wrapper Generate$ExtendedLogger name inconvenient on Linux

2017-02-13 Thread Remko Popma (JIRA)
Remko Popma created LOG4J2-1814: --- Summary: Wrapper Generate$ExtendedLogger name inconvenient on Linux Key: LOG4J2-1814 URL: https://issues.apache.org/jira/browse/LOG4J2-1814 Project: Log4j 2

[jira] [Commented] (LOG4J2-1808) java.lang.NoSuchMethodError: org.apache.logging.log4j.ThreadContext.getThreadContextMap()

2017-02-13 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15863818#comment-15863818 ] Remko Popma commented on LOG4J2-1808: - Glad to hear

[jira] [Commented] (LOG4J2-1813) Provide shorter and more intuitive way to switch on Log4j internal debug logging

2017-02-12 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15863065#comment-15863065 ] Remko Popma commented on LOG4J2-1813: - That is certainly an improvement and I

Re: Logback performance improvements

2017-02-12 Thread Remko Popma
#FriendsDontLetFriendsUseJavaUtilLogging On Sun, Feb 12, 2017 at 11:41 PM, Remko Popma wrote: > But I agree it is interesting to see that a simple (RAF)FileAppender will > outperform async logging if the sustained logging rate is faster than the > appender can handle for long enough t

Re: Logback performance improvements

2017-02-12 Thread Remko Popma
funny any more. We did document that <https://logging.apache.org/log4j/2.x/performance.html#fileLoggingComparison> but perhaps we need to evangelize it more... On Sun, Feb 12, 2017 at 4:59 PM, Remko Popma wrote: > The queue is bigger but still fills up quickly because all the benchmarks &g

Remko travel plans

2017-02-12 Thread Remko Popma
I will be travelling to Holland between Feb 15 and March 5th, with sporadic internet access at times, so I may be slow to reply during this period. Remko

Re: Logback performance improvements

2017-02-11 Thread Remko Popma
understand why AsyncLogger is > slower as it should have a large ring buffer if I understand correctly. > > Ralph > >> On Feb 11, 2017, at 4:36 PM, Remko Popma wrote: >> >> I don't think it is a good idea to mix async tests with sync tests. >> >> We alr

[jira] [Comment Edited] (LOG4J2-1811) Log4j 2 configuration/usage ergonomics

2017-02-11 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15862663#comment-15862663 ] Remko Popma edited comment on LOG4J2-1811 at 2/12/17 6:0

[jira] [Commented] (LOG4J2-1811) Log4j 2 configuration/usage ergonomics

2017-02-11 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15862663#comment-15862663 ] Remko Popma commented on LOG4J2-1811: - I agree our documentation is very good

[jira] [Updated] (LOG4J2-1813) Provide shorter and more intuitive way to switch on Log4j internal debug logging

2017-02-11 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma updated LOG4J2-1813: Description: People find it difficult to troubleshoot Log4j 2 configuration issues. Many people

[jira] [Created] (LOG4J2-1813) Provide shorter and more intuitive way to switch on Log4j internal debug logging

2017-02-11 Thread Remko Popma (JIRA)
Remko Popma created LOG4J2-1813: --- Summary: Provide shorter and more intuitive way to switch on Log4j internal debug logging Key: LOG4J2-1813 URL: https://issues.apache.org/jira/browse/LOG4J2-1813

[jira] [Updated] (LOG4J2-1812) Improve error message when log4j 2 configuration file not found

2017-02-11 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma updated LOG4J2-1812: Description: When configuration fails because no Log4j 2 configuration file is found, the

[jira] [Commented] (LOG4J2-1812) Improve error message when log4j 2 configuration file not found

2017-02-11 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15862652#comment-15862652 ] Remko Popma commented on LOG4J2-1812: - Added above text to the error messag

[jira] [Created] (LOG4J2-1812) Improve error message when log4j 2 configuration file not found

2017-02-11 Thread Remko Popma (JIRA)
Remko Popma created LOG4J2-1812: --- Summary: Improve error message when log4j 2 configuration file not found Key: LOG4J2-1812 URL: https://issues.apache.org/jira/browse/LOG4J2-1812 Project: Log4j 2

[jira] [Created] (LOG4J2-1811) Log4j 2 configuration/usage ergonomics

2017-02-11 Thread Remko Popma (JIRA)
Remko Popma created LOG4J2-1811: --- Summary: Log4j 2 configuration/usage ergonomics Key: LOG4J2-1811 URL: https://issues.apache.org/jira/browse/LOG4J2-1811 Project: Log4j 2 Issue Type: Epic

Re: Logback performance improvements

2017-02-11 Thread Remko Popma
try running Ceki’s benchmark project on AWS and publish those >>>>>> numbers here. He also asked people to publish numbers on the Logback >>>>>> user’s list so he can add them to his spreadsheet. >>>>>> >>>>>> From your numbers and the numb

Re: Regarding Checkstyle, PMD, and formatting

2017-02-10 Thread Remko Popma
wish Java > had final be the default. > > On 10 February 2017 at 05:34, Remko Popma wrote: > >> Generally agree except that we agreed that the final qualifier was >> optional. This may not be easy (or possible?) to verify automatically >> anyway. >> >> Oth

[jira] [Commented] (LOG4J2-1678) (GC) Avoid allocating temporary objects in ThreadContextMapFilter

2017-02-10 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15861335#comment-15861335 ] Remko Popma commented on LOG4J2-1678: - Can you provide details on why you t

Re: Regarding Checkstyle, PMD, and formatting

2017-02-10 Thread Remko Popma
Generally agree except that we agreed that the final qualifier was optional. This may not be easy (or possible?) to verify automatically anyway. Otherwise all looks reasonable. Sent from my iPhone > On Feb 10, 2017, at 17:55, Mikael Ståldal wrote: > > Seems reasonable. > >> On Fri, Feb 10

Re: Logback performance improvements

2017-02-09 Thread Remko Popma
10 >> 1465.002 ± 1284.943 ops/ms >> o.a.l.l.p.j.FileAppenderBenchmark.log4j2RAF thrpt 10 >> 1765.340 ± 149.707 ops/ms >> o.a.l.l.p.j.FileAppenderBenchmark.logbackFilethrpt 10 >> 1192.594 ± 57.777 ops/ms >> >> I will try the other mach

Re: Logback performance improvements

2017-02-09 Thread Remko Popma
ll try the other machines later and post those results. > > Ralph > > > On Feb 9, 2017, at 5:22 AM, Apache wrote: > > Ceki replied on twitter that the immediateFlush option is now a parameter > of the appended, not the encoder, so it looks like the confit needs to be >

Re: Logback performance improvements

2017-02-09 Thread Remko Popma
FYI, The write and flush methods in BufferedOutputStream are also synchronized, so we won't be able to do away with synchronization completely. In OutputStreamManager we synchronize multiple methods but these are nested calls. I thought reentrant synchronization had negligible overhead but I h

Re: Logback performance improvements

2017-02-09 Thread Remko Popma
I will try taking a look when I get home from work tonight. Ceki reported some strange numbers about Log4j 1 outperforming Log4j2 before, and when we showed results from 3 or 4 environments that disproved his claims, he never really explained how that happened. Not sure if there's some issue

Re: Logback performance improvements

2017-02-08 Thread Remko Popma
on 5: 1170.686 ops/ms > Iteration 6: 1246.053 ops/ms > Iteration 7: 1173.593 ops/ms > Iteration 8: 1196.317 ops/ms > Iteration 9: 1127.199 ops/ms > Iteration 10: 1142.684 ops/ms > > Ralph > > >> On Feb 7, 2017, at 10:55 AM, Apache wrote: >> >> T

Re: Logback performance improvements

2017-02-07 Thread Remko Popma
on the equivalent append method. Perhaps he >> figured out a simpler way to emulate locking? >> >> I've been working with async/non-blocking streaming APIs for long enough >> now that I can't even remember the last time I had to write an actual lock. >> >>

Re: Logback performance improvements

2017-02-06 Thread Remko Popma
Sorry what 1.2 do you mean? Sent from my iPhone > On Feb 7, 2017, at 11:06, Apache wrote: > > In 1.2? That may work for a FileOutputStream but it isn’t guaranteed to work > for others. > > Ralph > >> On Feb 6, 2017, at 5:23 PM, Matt Sicker wrote: >> >> I'm not sure if I'm looking in the

Re: Java 9

2017-02-06 Thread Remko Popma
att Sicker wrote: >> >> I remember Ralph mentioned that he tested it out and found that it worked >> pretty well. See issue: <https://issues.apache.org/jira/browse/LOG4J2-1359> >> >> On 6 February 2017 at 09:56, Remko Popma wrote: >>> I haven't ha

Java 9

2017-02-06 Thread Remko Popma
I haven't had a chance to look at this yet, but is the new stack walking API in Java 9 of any use for us? I believe applications/libraries like Log4j were supposed to be the drivers behind this feature, but last time I checked they were not going to cater for our use case (inspect the stack from th

[jira] [Commented] (LOG4J2-1809) Add global configuration environment SPI

2017-02-05 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15853416#comment-15853416 ] Remko Popma commented on LOG4J2-1809: - Where will this interface be used? In

[jira] [Commented] (LOG4J2-1808) java.lang.NoSuchMethodError: org.apache.logging.log4j.ThreadContext.getThreadContextMap()

2017-02-04 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15853001#comment-15853001 ] Remko Popma commented on LOG4J2-1808: - The me

Re: SyslogAppender parameter name change

2017-02-04 Thread Remko Popma
orted. If not, that's a feature we can >> support for sure. >> >>> On 2 February 2017 at 18:27, Gary Gregory wrote: >>> Darn, I apologize for that one. >>> >>> Gary >>> >>>> On Thu, Feb 2, 2017 at 4:09 PM, Remko Popma

  1   2   3   4   5   6   7   8   9   10   >