[jira] [Updated] (LOG4J2-1342) ReusableParameterizedMessage should preserve parameters when used with Async Loggers

2016-04-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma updated LOG4J2-1342: Description: *Problem* Some layouts (like CsvParameterLayout) need access to the message parameters

[jira] [Created] (LOG4J2-1371) JSONLayout and MultiformatMessage

2016-04-18 Thread Manuel Meiners (JIRA)
Manuel Meiners created LOG4J2-1371: -- Summary: JSONLayout and MultiformatMessage Key: LOG4J2-1371 URL: https://issues.apache.org/jira/browse/LOG4J2-1371 Project: Log4j 2 Issue Type: Bug A

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

2016-04-18 Thread Some dude (JIRA)
Some dude created LOG4J2-1370: - Summary: Log4j2 cannot get env. variable Key: LOG4J2-1370 URL: https://issues.apache.org/jira/browse/LOG4J2-1370 Project: Log4j 2 Issue Type: Bug Compone

[jira] [Comment Edited] (LOG4J2-1362) Create a YAML layout

2016-04-18 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15247219#comment-15247219 ] Ralph Goers edited comment on LOG4J2-1362 at 4/19/16 5:39 AM: -

[jira] [Comment Edited] (LOG4J2-1362) Create a YAML layout

2016-04-18 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15247219#comment-15247219 ] Ralph Goers edited comment on LOG4J2-1362 at 4/19/16 5:38 AM: -

[jira] [Commented] (LOG4J2-1362) Create a YAML layout

2016-04-18 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15247219#comment-15247219 ] Ralph Goers commented on LOG4J2-1362: - Notice that collections are defined as {code}

Re: [jira] [Commented] (LOG4J2-1297) Document "gc-free" configuration and performance

2016-04-18 Thread Matt Sicker
Great, thanks for the explanation! I can't wait to use this set-up in production. On 18 April 2016 at 17:48, Remko Popma wrote: > Yes, in that case the threadpool doesn't outlive the application so > there's no chance of memory leaks. > > Not sure if Tomcat also can be configured to have separat

[jira] [Commented] (LOG4J2-1362) Create a YAML layout

2016-04-18 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15246884#comment-15246884 ] Gary Gregory commented on LOG4J2-1362: -- You do not need quotes: {code:yaml} Mark Mc

[jira] [Commented] (LOG4J2-1362) Create a YAML layout

2016-04-18 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15246880#comment-15246880 ] Gary Gregory commented on LOG4J2-1362: -- Current YAML spec: http://www.yaml.org/spec/

Re: [jira] [Commented] (LOG4J2-1297) Document "gc-free" configuration and performance

2016-04-18 Thread Remko Popma
Yes, in that case the threadpool doesn't outlive the application so there's no chance of memory leaks. Not sure if Tomcat also can be configured to have separate threadpools per web app and to refresh the thread pool on web app undeploy/redeploy. Sent from my iPhone > On 2016/04/19, at 3:27,

[jira] [Resolved] (LOG4J2-1369) "xz" compression results in plaintext, uncompressed files.

2016-04-18 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory resolved LOG4J2-1369. -- Resolution: Fixed Fix Version/s: 2.6 Fixed in Git master. Please verify and close. > "x

[jira] [Assigned] (LOG4J2-1369) "xz" compression results in plaintext, uncompressed files.

2016-04-18 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory reassigned LOG4J2-1369: Assignee: Gary Gregory Fixing... > "xz" compression results in plaintext, uncompressed fi

Re:

2016-04-18 Thread Matt Sicker
If you wanna do funny stuff with GitHub, I think you have to ask Infra to intervene usually. On 18 April 2016 at 10:23, Ralph Goers wrote: > Actually, Log4j already has a github mirror so it seems that should just > be used to register with the marketplace. > > Ralph > > On Apr 18, 2016, at 7:49

Re: [jira] [Commented] (LOG4J2-1297) Document "gc-free" configuration and performance

2016-04-18 Thread Matt Sicker
But would you say it's safe to use ThreadLocal when you don't undeploy or redeploy web apps? Like if you always restart Tomcat when you redeploy, would it be safe to use ThreadLocal in such a scenario? On 18 April 2016 at 09:49, Remko Popma wrote: > The problem is that values stored in ThreadLoc

[jira] [Commented] (LOG4J2-1369) "xz" compression results in plaintext, uncompressed files.

2016-04-18 Thread Alex Birch (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15246068#comment-15246068 ] Alex Birch commented on LOG4J2-1369: Thanks for reviewing. :) > "xz" compression res

[jira] [Commented] (LOG4J2-1369) "xz" compression results in plaintext, uncompressed files.

2016-04-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15246060#comment-15246060 ] Remko Popma commented on LOG4J2-1369: - Yes, I suspect that simply passing the correct

[jira] [Updated] (LOG4J2-1369) "xz" compression results in plaintext, uncompressed files.

2016-04-18 Thread Alex Birch (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Birch updated LOG4J2-1369: --- Description: _Note: see [associated StackOverflow problem|https://stackoverflow.com/questions/366956

[jira] [Comment Edited] (LOG4J2-1369) "xz" compression results in plaintext, uncompressed files.

2016-04-18 Thread Alex Birch (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15245969#comment-15245969 ] Alex Birch edited comment on LOG4J2-1369 at 4/18/16 4:39 PM: -

[jira] [Commented] (LOG4J2-1369) "xz" compression results in plaintext, uncompressed files.

2016-04-18 Thread Alex Birch (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15245969#comment-15245969 ] Alex Birch commented on LOG4J2-1369: > Can you provide a patch? For now our business

[jira] [Commented] (LOG4J2-1369) "xz" compression results in plaintext, uncompressed files.

2016-04-18 Thread Alex Birch (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15245943#comment-15245943 ] Alex Birch commented on LOG4J2-1369: Are there consumers who rely upon the name here:

[jira] [Commented] (LOG4J2-1369) "xz" compression results in plaintext, uncompressed files.

2016-04-18 Thread Alex Birch (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15245940#comment-15245940 ] Alex Birch commented on LOG4J2-1369: I see that there are three occurrences of this:

[jira] [Commented] (LOG4J2-1369) "xz" compression results in plaintext, uncompressed files.

2016-04-18 Thread Alex Birch (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15245936#comment-15245936 ] Alex Birch commented on LOG4J2-1369: Are you suggesting just a change to: {{new Comm

[jira] [Updated] (LOG4J2-1369) "xz" compression results in plaintext, uncompressed files.

2016-04-18 Thread Alex Birch (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Birch updated LOG4J2-1369: --- Description: _Note: see [associated StackOverflow problem|https://stackoverflow.com/questions/366956

[jira] [Commented] (LOG4J2-1369) "xz" compression results in plaintext, uncompressed files.

2016-04-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15245926#comment-15245926 ] Remko Popma commented on LOG4J2-1369: - This looks almost like a typo: we wrote "xy" w

[jira] [Updated] (LOG4J2-1369) "xz" compression results in plaintext, uncompressed files.

2016-04-18 Thread Alex Birch (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Birch updated LOG4J2-1369: --- Description: _Note: see [associated StackOverflow problem|https://stackoverflow.com/questions/366956

[jira] [Updated] (LOG4J2-1369) "xz" compression results in plaintext, uncompressed files.

2016-04-18 Thread Alex Birch (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Birch updated LOG4J2-1369: --- Description: _Note: see [associated StackOverflow problem|https://stackoverflow.com/questions/366956

[jira] [Updated] (LOG4J2-1369) "xz" compression results in plaintext, uncompressed files.

2016-04-18 Thread Alex Birch (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Birch updated LOG4J2-1369: --- Description: _Note: see [associated StackOverflow problem](https://stackoverflow.com/questions/36695

[jira] [Updated] (LOG4J2-1369) "xz" compression results in plaintext, uncompressed files.

2016-04-18 Thread Alex Birch (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Birch updated LOG4J2-1369: --- Description: _Note: see [associated StackOverflow problem](https://stackoverflow.com/questions/36695

[jira] [Updated] (LOG4J2-1369) "xz" compression results in plaintext, uncompressed files.

2016-04-18 Thread Alex Birch (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Birch updated LOG4J2-1369: --- Description: _Note: see [associated StackOverflow problem](https://stackoverflow.com/questions/36695

[jira] [Updated] (LOG4J2-1369) "xz" compression results in plaintext, uncompressed files.

2016-04-18 Thread Alex Birch (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Birch updated LOG4J2-1369: --- Description: _Note: see [associated StackOverflow problem](https://stackoverflow.com/questions/36695

[jira] [Updated] (LOG4J2-1369) "xz" compression results in plaintext, uncompressed files.

2016-04-18 Thread Alex Birch (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Birch updated LOG4J2-1369: --- Description: _Note: see [associated StackOverflow problem](https://stackoverflow.com/questions/36695

[jira] [Updated] (LOG4J2-1369) "xz" compression results in plaintext, uncompressed files.

2016-04-18 Thread Alex Birch (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Birch updated LOG4J2-1369: --- Description: _Note: see [associated StackOverflow problem](https://stackoverflow.com/questions/36695

[jira] [Updated] (LOG4J2-1369) "xz" compression results in plaintext, uncompressed files.

2016-04-18 Thread Alex Birch (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Birch updated LOG4J2-1369: --- Description: _Note: see [associated StackOverflow problem](https://stackoverflow.com/questions/36695

[jira] [Updated] (LOG4J2-1369) "xz" compression results in plaintext, uncompressed files.

2016-04-18 Thread Alex Birch (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Birch updated LOG4J2-1369: --- Description: _Note: see [associated StackOverflow problem](https://stackoverflow.com/questions/36695

[jira] [Updated] (LOG4J2-1369) "xz" compression results in plaintext, uncompressed files.

2016-04-18 Thread Alex Birch (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Birch updated LOG4J2-1369: --- Description: _Note: see [associated StackOverflow problem](https://stackoverflow.com/questions/36695

[jira] [Updated] (LOG4J2-1369) "xz" compression results in plaintext, uncompressed files.

2016-04-18 Thread Alex Birch (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Birch updated LOG4J2-1369: --- Description: _Note: see [associated StackOverflow problem](https://stackoverflow.com/questions/36695

[jira] [Updated] (LOG4J2-1369) "xz" compression results in plaintext, uncompressed files.

2016-04-18 Thread Alex Birch (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Birch updated LOG4J2-1369: --- Description: _Note: see [associated StackOverflow problem](https://stackoverflow.com/questions/36695

[jira] [Updated] (LOG4J2-1369) "xz" compression results in plaintext, uncompressed files.

2016-04-18 Thread Alex Birch (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Birch updated LOG4J2-1369: --- Description: _Note: see [associated StackOverflow problem](https://stackoverflow.com/questions/36695

[jira] [Created] (LOG4J2-1369) "xz" compression results in plaintext, uncompressed files.

2016-04-18 Thread Alex Birch (JIRA)
Alex Birch created LOG4J2-1369: -- Summary: "xz" compression results in plaintext, uncompressed files. Key: LOG4J2-1369 URL: https://issues.apache.org/jira/browse/LOG4J2-1369 Project: Log4j 2 Issu

[jira] [Comment Edited] (LOG4J2-1334) Garbage-free synchronous logging: add LogEventFactory that reuses a cached LogEvent

2016-04-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15244659#comment-15244659 ] Remko Popma edited comment on LOG4J2-1334 at 4/18/16 3:55 PM: -

Re:

2016-04-18 Thread Ralph Goers
Actually, Log4j already has a github mirror so it seems that should just be used to register with the marketplace. Ralph > On Apr 18, 2016, at 7:49 AM, Mikael Ståldal wrote: > > Perhaps someone from PMC should register Log4j 2 here: > http://docs.graylog.org/en/latest/pages/marketplace.html

Jenkins build is back to stable : Log4j 2.x #1886

2016-04-18 Thread Apache Jenkins Server
See - To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-dev-h...@logging.apache.org

Re: Register Log4j 2 in Graylog marketplace

2016-04-18 Thread Mikael Ståldal
You need proper permissions to the Apache organization on GitHub, which I don't seem to have. We can use the existing repository https://github.com/apache/log4j Is probably a good idea to have a README.md in that repository anyway, it is good practice on GitHub. On Mon, Apr 18, 2016 at 4:55 PM,

Re: Register Log4j 2 in Graylog marketplace

2016-04-18 Thread Remko Popma
Mikael, Looks like this needs at least a README and a release. Should we do this when we release 2.6 then? Someone needs to prepare the README. Also, what kind of GitHub permissions would be required? Remko On Mon, Apr 18, 2016 at 11:49 PM, Mikael Ståldal wrote: > Perhaps someone from PMC sh

[no subject]

2016-04-18 Thread Mikael Ståldal
Perhaps someone from PMC should register Log4j 2 here: http://docs.graylog.org/en/latest/pages/marketplace.html now when we have a GelfLayout. Currently you will only find a couple of obsolete third-party GELF-plugins for Log4j. I tried to do it myself, but I don't have the proper permissions on

Re: [jira] [Commented] (LOG4J2-1297) Document "gc-free" configuration and performance

2016-04-18 Thread Remko Popma
The problem is that values stored in ThreadLocals may live longer than the web application since the threads that hold these values are in a pool and the threads live on after the web application is undeployed. If the value is a JDK class this is not a problem. If the value is a class that is defi

Re: Jenkins build became unstable: Log4j 2.x #1885

2016-04-18 Thread Remko Popma
I updated the GcFreeLogging tests to stop paying attention to allocations that occur after the test is complete. That should fix this. On Mon, Apr 18, 2016 at 11:37 PM, Remko Popma wrote: > Looks like the JUL LogManager.Clearer class (their shutdown hook) > allocates while looping over a map. >

Re: Jenkins build became unstable: Log4j 2.x #1885

2016-04-18 Thread Remko Popma
Looks like the JUL LogManager.Clearer class (their shutdown hook) allocates while looping over a map. The thing is, I call AllocationRecorder.removeSampler(sampler); Thread.sleep(100); before exiting the test process... Looks like the AllocationRecorder is still active. Hm... On Mon, Apr 18, 2

Re: Jenkins build became unstable: Log4j 2.x #1885

2016-04-18 Thread Matt Sicker
That's a strange test result! On 18 April 2016 at 09:05, Apache Jenkins Server wrote: > See > > > - > To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org > Fo

Jenkins build became unstable: Log4j 2.x #1885

2016-04-18 Thread Apache Jenkins Server
See - To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-dev-h...@logging.apache.org

Re: [jira] [Commented] (LOG4J2-1297) Document "gc-free" configuration and performance

2016-04-18 Thread Matt Sicker
So is this only bad to use when you have multiple wars on a single Tomcat, or is it bad for when you try to undeploy, or is there another issue here? On 18 April 2016 at 09:01, Remko Popma wrote: > Yes but if this is wrong because there is no threadpool or so, then you > can use System property

Re: [Bug 2] Just testing the Boogzeela setup for log4j

2016-04-18 Thread Matt Sicker
Well now, what's this here? On 18 April 2016 at 06:42, wrote: > https://bz.apache.org/bugzilla/show_bug.cgi?id=2 > > Tysonrudgey changed: > >What|Removed |Added > > >

[jira] [Commented] (LOG4J2-1362) Create a YAML layout

2016-04-18 Thread Greg Thomas (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15245708#comment-15245708 ] Greg Thomas commented on LOG4J2-1362: - I'm unfamiliar with YAML, but with JSON the ke

Re: [jira] [Commented] (LOG4J2-1297) Document "gc-free" configuration and performance

2016-04-18 Thread Remko Popma
Yes but if this is wrong because there is no threadpool or so, then you can use System property "log4j2.is.webapp" to tell Log4j that it should consider your app a non-webapp. On Mon, Apr 18, 2016 at 10:59 PM, Matt Sicker wrote: > Would an embedded Tomcat/Jetty a la Spring Boot really be conside

Re: [jira] [Commented] (LOG4J2-1297) Document "gc-free" configuration and performance

2016-04-18 Thread Matt Sicker
Would an embedded Tomcat/Jetty a la Spring Boot really be considered a web application? On 18 April 2016 at 08:56, Remko Popma wrote: > When I finish performance testing I will add graphs to the Performance > section of the gc-free manual page so that users can make an informed > decision. (The

[jira] [Commented] (LOG4J2-1362) Create a YAML layout

2016-04-18 Thread Matt Sicker (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15245700#comment-15245700 ] Matt Sicker commented on LOG4J2-1362: - I think we had the same exact issue when makin

Re: [jira] [Commented] (LOG4J2-1297) Document "gc-free" configuration and performance

2016-04-18 Thread Remko Popma
When I finish performance testing I will add graphs to the Performance section of the gc-free manual page so that users can make an informed decision. (The below one is an example.) So far, it seems that even with the garbage-free logging enabled, synchronous logging throughput (the green line) is

Re: Early Access builds of JDK 9 b113 & JDK 9 with Project Jigsaw b113 (#4848) are available on java.net

2016-04-18 Thread Matt Sicker
We haven't done much testing in JDK 9 yet, but I have uncovered a backwards-incompatible locale change just in our log4j-api unit tests. Here's a one-liner assertion: assertEquals("12,00 €", new MessageFormat("{0,number,currency}", Locale.FRANCE).format(new Object[] {12})); It appears that Messag

[jira] [Closed] (LOG4J2-1365) Add CharSequenceFormattable interface for Messages to improve performance of Layouts

2016-04-18 Thread JIRA
[ https://issues.apache.org/jira/browse/LOG4J2-1365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mikael Ståldal closed LOG4J2-1365. -- > Add CharSequenceFormattable interface for Messages to improve performance of > Layouts > ---

[jira] [Commented] (LOG4J2-1365) Add CharSequenceFormattable interface for Messages to improve performance of Layouts

2016-04-18 Thread JIRA
[ https://issues.apache.org/jira/browse/LOG4J2-1365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15245617#comment-15245617 ] Mikael Ståldal commented on LOG4J2-1365: Fixed. > Add CharSequenceFormattable in

Re: [jira] [Commented] (LOG4J2-1297) Document "gc-free" configuration and performance

2016-04-18 Thread Mikael Ståldal
Is it wise to enable by default given that "multi-threaded applications that use synchronous logging may see worse performance"? On Mon, Apr 18, 2016 at 2:22 PM, Remko Popma wrote: > Enabled, except for web apps; for those log4j will be low garbage. > > See the first paragraph of the Configurati

[jira] [Commented] (LOG4J2-1365) Add CharSequenceFormattable interface for Messages to improve performance of Layouts

2016-04-18 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15245591#comment-15245591 ] Remko Popma commented on LOG4J2-1365: - Did you have a chance to add an entry to chang

Re: [jira] [Commented] (LOG4J2-1297) Document "gc-free" configuration and performance

2016-04-18 Thread Remko Popma
Enabled, except for web apps; for those log4j will be low garbage. See the first paragraph of the Configuration section in the manual page. Please let me know if this is not clear. (The fact that you asked means this probably needs improvement...) Sent from my iPhone > On 2016/04/18, at 20:1

Re: [3/5] logging-log4j2 git commit: LOG4J2-1334 ListAppender must add snapshot of MutableLogEvent to the list, not the MutableLogEvent itself (since it will change)

2016-04-18 Thread Remko Popma
I hadn't thought of that. In this case though not all attributes are immutable so going through Log4jLogEvent.Proxy may be prudent. (In spite of the name, Java io serialization is not involved here. ) Sent from my iPhone > On 2016/04/18, at 19:54, Mikael Ståldal wrote: > > Isn't this what clo

[jira] [Resolved] (LOG4J2-1365) Add CharSequenceFormattable interface for Messages to improve performance of Layouts

2016-04-18 Thread JIRA
[ https://issues.apache.org/jira/browse/LOG4J2-1365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mikael Ståldal resolved LOG4J2-1365. Resolution: Fixed Fixed in master. > Add CharSequenceFormattable interface for Messages to

[Bug 2] Just testing the Boogzeela setup for log4j

2016-04-18 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=2 Tysonrudgey changed: What|Removed |Added CC||brend...@bbtechltd.com --- Comment #2 from T

Re: [jira] [Commented] (LOG4J2-1297) Document "gc-free" configuration and performance

2016-04-18 Thread Mikael Ståldal
Will garbage-free logging be enabled or disabled by default? On Mon, Apr 18, 2016 at 2:58 AM, Remko Popma (JIRA) wrote: > > [ > https://issues.apache.org/jira/browse/LOG4J2-1297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15245018#comment-15245018 >

[jira] [Comment Edited] (LOG4J2-1362) Create a YAML layout

2016-04-18 Thread JIRA
[ https://issues.apache.org/jira/browse/LOG4J2-1362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15245471#comment-15245471 ] Mikael Ståldal edited comment on LOG4J2-1362 at 4/18/16 11:10 AM: -

[jira] [Commented] (LOG4J2-1362) Create a YAML layout

2016-04-18 Thread JIRA
[ https://issues.apache.org/jira/browse/LOG4J2-1362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15245471#comment-15245471 ] Mikael Ståldal commented on LOG4J2-1362: Considering https://issues.apache.org/ji

Re: [3/5] logging-log4j2 git commit: LOG4J2-1334 ListAppender must add snapshot of MutableLogEvent to the list, not the MutableLogEvent itself (since it will change)

2016-04-18 Thread Mikael Ståldal
Isn't this what clone() should be used for? On Sat, Apr 16, 2016 at 10:51 PM, Remko Popma wrote: > Makes sense. > > Sent from my iPhone > > On 2016/04/16, at 23:20, Gary Gregory wrote: > > Hi, > > The ser+deser sequence feels like something that should be refactored into > a serializedCopy() or

[jira] [Commented] (LOG4J2-494) Support composite configurations

2016-04-18 Thread Philipp Knobel (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15245419#comment-15245419 ] Philipp Knobel commented on LOG4J2-494: --- I've opened PR https://github.com/apache/lo