[jira] [Commented] (LOG4J2-30) Author tags

2012-04-28 Thread Christian Grobmeier (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-30?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13264292#comment-13264292 ] Christian Grobmeier commented on LOG4J2-30: --- Thank you Ralph. I am +1 on

closing powers on log4j2

2012-04-28 Thread Christian Grobmeier
hi folks i tried to close this issue: https://issues.apache.org/jira/browse/LOG4J2-30?focusedCommentId=13264292#comment-13264292 b/c there is no discussion and ralph as main developer already removed the author tags Unfortunately I have no super ninja mutant hero turtle super powers to do it.

[jira] [Closed] (LOG4J2-57) GSoC Ideas

2012-04-28 Thread Christian Grobmeier (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-57?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian Grobmeier closed LOG4J2-57. - Resolution: Won't Fix GSoC application time is over :-( GSoC Ideas

[jira] [Commented] (LOG4J2-30) Author tags

2012-04-28 Thread Gary D. Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-30?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13264300#comment-13264300 ] Gary D. Gregory commented on LOG4J2-30: --- +1 to remove author tags.

Re: [log4j2] Name and versions

2012-04-28 Thread Christian Grobmeier
Thanks Ralph for explaining the background on this. Actually I am for version 3. It confuses me to see at leats 3 numbers in the name. Imaging the following version number: log4j2 2.2.2-BETA2 gives me headache. My current fave for version numbers is http://semver.org/ As you already mentioned,

[log4j2] configuration file names

2012-04-28 Thread Christian Grobmeier
Hi, just fixed the docs, which said, log4j2 is looking for log4j.xml / log4j-test.xml. It is actually looking for log4j2.xml and log4j2-test.xml I couldn't find the code if log4j.json is looked up or log4j2.json. Unfortunately the system param to give an alternate file as config file is:

Re: [log4j2] Format of json config

2012-04-28 Thread Ralph Goers
Wow - it is really great to have you digging into this. Did you look at http://people.apache.org/~rgoers/log4j2/manual/configuration.html? It has two sample json configuration files and talks about what you need to do to use arrays. In particular, the loggers section looks like loggers:

Re: [log4j2] configuration file names

2012-04-28 Thread Ralph Goers
See below - On Apr 28, 2012, at 5:30 AM, Christian Grobmeier wrote: Hi, just fixed the docs, which said, log4j2 is looking for log4j.xml / log4j-test.xml. It is actually looking for log4j2.xml and log4j2-test.xml Yes, that is correct. Thanks for fixing it. I couldn't find the code if

Re: [log4j2] Format of json config

2012-04-28 Thread Christian Grobmeier
hey ralph, its a pleasure. I like that code and it is impressive that you wrote i mostly alone I have found an error on this page. There is a sample like that: loggers: { logger: { name: EventLogger, level: info, additivity: false, appender-ref: { ref: Routing }}, root: { level:

Re: [log4j2] Name and versions

2012-04-28 Thread Ralph Goers
These are all very good points If you would look at http://people.apache.org/~rgoers/log4j2/index.html as one example page and help figure out how to change it so that when we are at log4j 2.1.2 the page doesn't feel awkward because it is talking about 2.0 then I'd be OK with this. I

Re: [log4j2] Format of json config

2012-04-28 Thread Ralph Goers
OK - I could swear that I copied the examples straight from unit tests. See log4j-routing.json and log4j-routing2.json. Ralph On Apr 28, 2012, at 7:15 AM, Christian Grobmeier wrote: hey ralph, its a pleasure. I like that code and it is impressive that you wrote i mostly alone I have

Re: [log4j2] Format of json config

2012-04-28 Thread Christian Grobmeier
On Sat, Apr 28, 2012 at 4:33 PM, Ralph Goers ralph.go...@dslextreme.com wrote: OK - I could swear that I copied the examples straight from unit tests.  See log4j-routing.json and log4j-routing2.json. Actually you did. Something is wrong here... log4j-routing.json: loggers: { logger: {

Re: [log4j2] Format of json config

2012-04-28 Thread Ralph Goers
What is the problem? Ralph On Apr 28, 2012, at 1:03 PM, Christian Grobmeier grobme...@gmail.com wrote: On Sat, Apr 28, 2012 at 4:33 PM, Ralph Goers ralph.go...@dslextreme.com wrote: OK - I could swear that I copied the examples straight from unit tests. See log4j-routing.json and

Re: [log4j2] Format of json config

2012-04-28 Thread Christian Grobmeier
the first example uses an object as logger value, the second one an array with objects. I understood it so that only the array option should work? On Sat, Apr 28, 2012 at 10:05 PM, Ralph Goers ralph.go...@dslextreme.com wrote: What is the problem? Ralph On Apr 28, 2012, at 1:03 PM,

Re: [log4j2] Format of json config

2012-04-28 Thread Ralph Goers
No. You can have multiple distinct objects or an array since both end up with multiple logger objects. Ralph On Apr 28, 2012, at 1:08 PM, Christian Grobmeier grobme...@gmail.com wrote: the first example uses an object as logger value, the second one an array with objects. I understood

Re: [log4j2] Format of json config

2012-04-28 Thread Christian Grobmeier
On Sat, Apr 28, 2012 at 10:25 PM, Ralph Goers rgo...@apache.org wrote: No. You can have multiple distinct objects or an array since both end up with multiple logger objects. OK. So does that mean I can have either one object in the key logger or an array? That would make sense. Ralph On

Re: [log4j2] Format of json config

2012-04-28 Thread Christian Grobmeier
On Sat, Apr 28, 2012 at 10:31 PM, Ralph Goers rgo...@apache.org wrote: Are you getting confused as to when the type element is required?  If so, reread the section on the configuration page. No, thats not what bugs me. I understand that. I am fighting with this log4j2.json configuration and

Re: [log4j2] Name and versions

2012-04-28 Thread Christian Grobmeier
On Sat, Apr 28, 2012 at 4:30 PM, Ralph Goers ralph.go...@dslextreme.com wrote: These are all very good points   If you would look at http://people.apache.org/~rgoers/log4j2/index.html as one example page and help figure out how to change it so that when we are at log4j 2.1.2 the page doesn't

Re: [log4j2] Name and versions

2012-04-28 Thread Ralph Goers
I think a global change in the doc from log4j2 to log4j 2 would be fine. I'm busy with my grand kids today and part of tomorrow so if you'd like to handle it that would be fine. Sent from my iPad On Apr 28, 2012, at 2:18 PM, Christian Grobmeier grobme...@gmail.com wrote: On Sat, Apr 28,

[log4j2] documentation

2012-04-28 Thread Ralph Goers
As you may have noticed there are a couple of pages in the manual that I have not completed. One of these is on extending Log4j2. Since you've been doing some work in that area I'm wondering if you would mind making a first pass at that page? Ralph

Re: [log4j2] documentation

2012-04-28 Thread Ralph Goers
Well, It may not be obvious Christian, but this question was meant for you. Ralph On Apr 28, 2012, at 5:03 PM, Ralph Goers wrote: As you may have noticed there are a couple of pages in the manual that I have not completed. One of these is on extending Log4j2. Since you've been doing some