Re: JSON and XML tag format for log events

2014-05-13 Thread Ralph Goers
Sorry, I meant an example of how the JSON looks with these cases. I am less concerned with the XML. Ralph On May 13, 2014, at 10:23 PM, Gary Gregory wrote: > Here is an example for the current XML: http://pastebin.com/cLbuwe4b > > Gary > > > On Tue, May 13, 2014 at 10:53 PM, Ralph Goers w

Re: JSON and XML tag format for log events

2014-05-13 Thread Gary Gregory
Here is JSON in all camelCase: http://pastebin.com/8zpHsjNL and in CamelCase for Elements and camelCase for attributes: http://pastebin.com/ed0R0grE You can edit org.apache.logging.log4j.core.jackson.JSONConstants to play with the names (and expect some test to fail). You can comment out a // SO

Re: JSON and XML tag format for log events

2014-05-13 Thread Gary Gregory
Here is an example for the current XML: http://pastebin.com/cLbuwe4b Gary On Tue, May 13, 2014 at 10:53 PM, Ralph Goers wrote: > Can you post an example? > > Sent from my iPad > > On May 13, 2014, at 6:51 PM, Gary Gregory wrote: > > This messages is about the format of tag names, not the shap

AW: Log4J-2.0 New Logo

2014-05-13 Thread Luigi Alice
Perhaps we can change the color and use a higher resolution. Von: Luigi Alice [mailto:luigi.al...@persis.de] Gesendet: Dienstag, 13. Mai 2014 14:49 An: Log4J Developers List Betreff: AW: Log4J-2.0 New Logo Pick this one… ☺ https://issues.apache.org/jira/secure/attachment/12616371/log4J2_Orange_

Re: JSON and XML tag format for log events

2014-05-13 Thread Ralph Goers
Can you post an example? Sent from my iPad > On May 13, 2014, at 6:51 PM, Gary Gregory wrote: > > This messages is about the format of tag names, not the shape of the elements. > > Right now, I have XML elements names in CamelCase format and XML attributes > in camelCase format. Pretty standa

[jira] [Commented] (LOG4J2-623) Better structure of Thread Context Map in JSONLayout

2014-05-13 Thread Joern Huxhorn (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13996793#comment-13996793 ] Joern Huxhorn commented on LOG4J2-623: -- @Gary Ah, ok. The earlier [comment from Mika

[jira] [Created] (LOG4J2-635) Log4j 2 should also support properties file

2014-05-13 Thread Yang Hua Jie (JIRA)
Yang Hua Jie created LOG4J2-635: --- Summary: Log4j 2 should also support properties file Key: LOG4J2-635 URL: https://issues.apache.org/jira/browse/LOG4J2-635 Project: Log4j 2 Issue Type: Wish

JSON and XML tag format for log events

2014-05-13 Thread Gary Gregory
This messages is about the format of tag names, not the shape of the elements. Right now, I have XML elements names in CamelCase format and XML attributes in camelCase format. Pretty standard. For JSON, I have both types of names as camelCase, but it makes the code a little awkward to undertamd a

Re: Log4J-2.0 New Logo

2014-05-13 Thread Gary Gregory
The jira ticket outlines a process IIRC.  Gary Original message From: Ralph Goers Date:05/13/2014 17:36 (GMT-05:00) To: Log4J Developers List Subject: Re: Log4J-2.0 New Logo I don’t recall that we had “rules”. Just that we were going to vote. Ralph On May 13, 2014, at

[jira] [Commented] (LOG4J2-623) Better structure of Thread Context Map in JSONLayout

2014-05-13 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13996585#comment-13996585 ] Ralph Goers commented on LOG4J2-623: The above should say "if you really want grandpar

Re: svn commit: r1594247 - /logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/rolling/SizeBasedTriggeringPolicy.java

2014-05-13 Thread Gary Gregory
That was a brain fart on my part. Gary On Tue, May 13, 2014 at 3:36 PM, Matt Sicker wrote: > So in this case equalsIgnoreCase can just be isEmpty(). > > -- Forwarded message -- > From: > Date: 13 May 2014 10:31 > Subject: svn commit: r1594247 - > /logging/log4j/log4j2/trunk/lo

Re: Log4J-2.0 New Logo

2014-05-13 Thread Ralph Goers
I don’t recall that we had “rules”. Just that we were going to vote. Ralph On May 13, 2014, at 1:18 PM, Gary Gregory wrote: > STV: ABEF > (I do not like D at all FWIW) > We can only vote on the "lettered" logos? > > We did not have STV in our orginal rules IIRC. > > Gary > > > On Tue, May

Re: Log4J-2.0 New Logo

2014-05-13 Thread Ralph Goers
And we can calculate the winner using http://paul-lockett.co.uk/stv.html or http://www.openstv.org/ Ralph On May 13, 2014, at 12:37 PM, Matt Sicker wrote: > I tried to set up Steve, but it's pretty undocumented and requires an > elaborate Apache set-up to work. > > > On 13 May 2014 13:42, R

[jira] [Commented] (LOG4J2-623) Better structure of Thread Context Map in JSONLayout

2014-05-13 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13996853#comment-13996853 ] Gary Gregory commented on LOG4J2-623: - @Joern Huxhorn : Yeah, previous Log4j 1 and 2 i

Re: Log4J-2.0 New Logo

2014-05-13 Thread Gary Gregory
STV: ABEF (I do not like D at all FWIW) We can only vote on the "lettered" logos? We did not have STV in our orginal rules IIRC. Gary On Tue, May 13, 2014 at 8:46 AM, Remko Popma wrote: > Nobody is voting... :-| > I've given them a letter ( > https://wiki.apache.org/logging/Log4jLogoNominatio

Re: Log4J-2.0 New Logo

2014-05-13 Thread Ralph Goers
Then we could do it manually. You can find some documentation on STV at http://en.wikipedia.org/wiki/Single_transferable_vote Ralph On May 13, 2014, at 12:37 PM, Matt Sicker wrote: > I tried to set up Steve, but it's pretty undocumented and requires an > elaborate Apache set-up to work. > >

[jira] [Commented] (LOG4J2-623) Better structure of Thread Context Map in JSONLayout

2014-05-13 Thread Joern Huxhorn (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13996256#comment-13996256 ] Joern Huxhorn commented on LOG4J2-623: -- If you are interested: [this|http://pastebin.

Fwd: svn commit: r1594247 - /logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/rolling/SizeBasedTriggeringPolicy.java

2014-05-13 Thread Matt Sicker
So in this case equalsIgnoreCase can just be isEmpty(). -- Forwarded message -- From: Date: 13 May 2014 10:31 Subject: svn commit: r1594247 - /logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/rolling/SizeBasedTriggeringPolicy.java To: comm

Re: Log4J-2.0 New Logo

2014-05-13 Thread Matt Sicker
I tried to set up Steve, but it's pretty undocumented and requires an elaborate Apache set-up to work. On 13 May 2014 13:42, Ralph Goers wrote: > I was hoping we could use Steve and vote as we do for board members (STV). > That way one vote would find the winner. They way we are doing it I do

[jira] [Commented] (LOG4J2-623) Better structure of Thread Context Map in JSONLayout

2014-05-13 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13996593#comment-13996593 ] Ralph Goers commented on LOG4J2-623: Gary, You seem to want to name all your elements

Re: Log4J-2.0 New Logo

2014-05-13 Thread Ralph Goers
I was hoping we could use Steve and vote as we do for board members (STV). That way one vote would find the winner. They way we are doing it I don’t think any one logo is going to get immediate consensus so we would need multiple votes to get a majority for the winner. Ralph On May 13, 2014,

[jira] [Commented] (LOG4J2-623) Better structure of Thread Context Map in JSONLayout

2014-05-13 Thread JIRA
[ https://issues.apache.org/jira/browse/LOG4J2-623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13996214#comment-13996214 ] Mikael Ståldal commented on LOG4J2-623: --- About JSON schema for the contextMap, can't

[jira] [Resolved] (LOG4J2-634) ThrowableProxy ctor throws an exception when using suppressed exceptions

2014-05-13 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory resolved LOG4J2-634. - Resolution: Fixed Fix Version/s: 2.0-rc2 > ThrowableProxy ctor throws an exception when us

Re: Log4J-2.0 New Logo

2014-05-13 Thread Gary Gregory
And so... what? Do we vote on this ML or edit the wiki? Gary On Tue, May 13, 2014 at 10:01 AM, Matt Sicker wrote: > Round 2! > > > On 13 May 2014 08:24, Gary Gregory wrote: > >> I thought we already did round 1 of voting? >> >> Gary >> >> >> On Tue, May 13, 2014 at 8:46 AM, Remko Popma wrote:

[jira] [Resolved] (LOG4J2-583) TCP and UDP socket servers should be able to handle XML log events

2014-05-13 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory resolved LOG4J2-583. - Resolution: Fixed Fix Version/s: 2.0-rc2 Resolving as the functionality is in. There will

[jira] [Commented] (LOG4J2-623) Better structure of Thread Context Map in JSONLayout

2014-05-13 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13996655#comment-13996655 ] Gary Gregory commented on LOG4J2-623: - I like this latest marker representation. It's

ThrowableProxy upcoming changes

2014-05-13 Thread Gary Gregory
Hi All: Here is a heads up of some soon to be committed ThrowableProxy changes. The RC1 version of the class is good at providing extra information for stack traces. The rework I am doing will make the class work better for its second purpose, describing a Throwable received from XML, JSON or a

Re: Log4J-2.0 New Logo

2014-05-13 Thread Ralph Goers
I we are using STV then my vote is DABIEFHGC Ralph On May 13, 2014, at 7:49 AM, Ralph Goers wrote: > Are we voting here or on the wiki. If here my vote is for “D”. > > Ralph > > On May 13, 2014, at 5:46 AM, Remko Popma wrote: > >> Nobody is voting... :-| >> I've given them a letter >> (h

[jira] [Commented] (LOG4J2-623) Better structure of Thread Context Map in JSONLayout

2014-05-13 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13996568#comment-13996568 ] Gary Gregory commented on LOG4J2-623: - @Mikael Ståldal : Your example does not cut it,

Re: Log4J-2.0 New Logo

2014-05-13 Thread Remko Popma
That's right, round 2. On Tue, May 13, 2014 at 11:01 PM, Matt Sicker wrote: > Round 2! > > > On 13 May 2014 08:24, Gary Gregory wrote: > >> I thought we already did round 1 of voting? >> >> Gary >> >> >> On Tue, May 13, 2014 at 8:46 AM, Remko Popma wrote: >> >>> Nobody is voting... :-| >>> I'v

Re: Package org.apache.logging.log4j.core.helpers.lang

2014-05-13 Thread Gary Gregory
OK, I'll do all that today. Gary On Tue, May 13, 2014 at 9:38 AM, Ralph Goers wrote: > Yes. > > Sent from my iPad > > On May 13, 2014, at 6:25 AM, Gary Gregory wrote: > > Collapse is OK w me. Should we Javadoc all the helpers as private? > > Gary > > > On Tue, May 13, 2014 at 9:24 AM, Matt Si

Re: Log4J-2.0 New Logo

2014-05-13 Thread Ralph Goers
Are we voting here or on the wiki. If here my vote is for “D”. Ralph On May 13, 2014, at 5:46 AM, Remko Popma wrote: > Nobody is voting... :-| > I've given them a letter > (https://wiki.apache.org/logging/Log4jLogoNominations ), so we can vote by > saying A: +1 or B: +1, etc. > Hope this he

Re: Log4J-2.0 New Logo

2014-05-13 Thread Matt Sicker
Can you make it a neat vector graphic? On 13 May 2014 08:13, Luigi Alice wrote: > Perhaps we can change the color and use a higher resolution. > > > > > > *Von:* Luigi Alice [mailto:luigi.al...@persis.de] > *Gesendet:* Dienstag, 13. Mai 2014 14:49 > *An:* Log4J Developers List > *Betreff:* AW:

Re: Log4J-2.0 New Logo

2014-05-13 Thread Matt Sicker
Round 2! On 13 May 2014 08:24, Gary Gregory wrote: > I thought we already did round 1 of voting? > > Gary > > > On Tue, May 13, 2014 at 8:46 AM, Remko Popma wrote: > >> Nobody is voting... :-| >> I've given them a letter ( >> https://wiki.apache.org/logging/Log4jLogoNominations ), so we can vot

AW: Log4J-2.0 New Logo

2014-05-13 Thread Luigi Alice
Pick this one… ☺ https://issues.apache.org/jira/secure/attachment/12616371/log4J2_Orange_Gr%C3%BCn.png Von: Remko Popma [mailto:remko.po...@gmail.com] Gesendet: Dienstag, 13. Mai 2014 14:47 An: Log4J Developers List Betreff: Re: Log4J-2.0 New Logo Nobody is voting... :-| I've given them a lette

Re: Package org.apache.logging.log4j.core.helpers.lang

2014-05-13 Thread Ralph Goers
Yes. Sent from my iPad > On May 13, 2014, at 6:25 AM, Gary Gregory wrote: > > Collapse is OK w me. Should we Javadoc all the helpers as private? > > Gary > > >> On Tue, May 13, 2014 at 9:24 AM, Matt Sicker wrote: >> That lang package was me. It's fine to collapse them; I was just thinking

Re: Package org.apache.logging.log4j.core.helpers.lang

2014-05-13 Thread Gary Gregory
Collapse is OK w me. Should we Javadoc all the helpers as private? Gary On Tue, May 13, 2014 at 9:24 AM, Matt Sicker wrote: > That lang package was me. It's fine to collapse them; I was just thinking > of doing some categorization with the helpers package. I called it lang > because that's whe

Re: Log4J-2.0 New Logo

2014-05-13 Thread Gary Gregory
I thought we already did round 1 of voting? Gary On Tue, May 13, 2014 at 8:46 AM, Remko Popma wrote: > Nobody is voting... :-| > I've given them a letter ( > https://wiki.apache.org/logging/Log4jLogoNominations ), so we can vote by > saying A: +1 or B: +1, etc. > Hope this helps. > > But if no

Re: Package org.apache.logging.log4j.core.helpers.lang

2014-05-13 Thread Matt Sicker
That lang package was me. It's fine to collapse them; I was just thinking of doing some categorization with the helpers package. I called it lang because that's where ClassLoader is. :) On Tuesday, 13 May 2014, Ralph Goers wrote: > I prefer to move all classes into the helpers directory and get

Re: Log4J-2.0 New Logo

2014-05-13 Thread Remko Popma
Nobody is voting... :-| I've given them a letter ( https://wiki.apache.org/logging/Log4jLogoNominations ), so we can vote by saying A: +1 or B: +1, etc. Hope this helps. But if nobody votes then perhaps Ralph should just pick one... :-P On Wed, May 7, 2014 at 7:28 AM, Matt Sicker wrote: > I li

[jira] [Commented] (LOG4J2-623) Better structure of Thread Context Map in JSONLayout

2014-05-13 Thread JIRA
[ https://issues.apache.org/jira/browse/LOG4J2-623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13996210#comment-13996210 ] Mikael Ståldal commented on LOG4J2-623: --- marker now looks like this: {code} "marke

[jira] [Commented] (LOG4J2-623) Better structure of Thread Context Map in JSONLayout

2014-05-13 Thread Joern Huxhorn (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13996192#comment-13996192 ] Joern Huxhorn commented on LOG4J2-623: -- I'd suggest to use something like {code:xml

[jira] [Commented] (LOG4J2-623) Better structure of Thread Context Map in JSONLayout

2014-05-13 Thread JIRA
[ https://issues.apache.org/jira/browse/LOG4J2-623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13996195#comment-13996195 ] Mikael Ståldal commented on LOG4J2-623: --- Why are you going to undo the improvement t