Re: Version 2 outreach?

2015-08-17 Thread Mikael Ståldal
It's OK if a library uses SLF4J properly. However, some libraries (even Apache ones) uses SLF4J improperly by having a mandatory dependency on a specific implementation (logj4 1 or logback) in their project. Such as Zookeeper: https://repo1.maven.org/maven2/org/apache/zookeeper/zookeeper/3.4.6/zoo

[jira] [Commented] (LOG4J2-1094) Multi thread initialization problem

2015-08-17 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14699289#comment-14699289 ] Ralph Goers commented on LOG4J2-1094: - The problem is that it is not just at initiali

Re: Version 2 outreach?

2015-08-17 Thread Ralph Goers
If you will note, Christian put in a plug for Log4j 2 quite some time ago in that Jira issue. From reading the issue it seems to me that Zookeeper must be using some convoluted processes in their build with all the problems they had getting patches to apply. Also, they ship an executable binary

Re: Version 2 outreach?

2015-08-17 Thread Ralph Goers
Just letting you know I did NOT read your email beyond the first 2 paragraphs. It is just way too long. Please summarize if you have something important to say. Ralph > On Aug 16, 2015, at 1:29 AM, Xen wrote: > > Op 15-8-2015 om 17:36 schreef Gary Gregory: > >> I think we are also in limbo s

[jira] [Comment Edited] (LOG4J2-1094) Multi thread initialization problem

2015-08-17 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14699289#comment-14699289 ] Ralph Goers edited comment on LOG4J2-1094 at 8/17/15 10:13 AM:

[jira] [Commented] (LOG4J2-1094) Multi thread initialization problem

2015-08-17 Thread Luca Burgazzoli (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14699346#comment-14699346 ] Luca Burgazzoli commented on LOG4J2-1094: - I understand but you can also understa

[jira] [Commented] (LOG4J2-1094) Multi thread initialization problem

2015-08-17 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14699356#comment-14699356 ] Ralph Goers commented on LOG4J2-1094: - These are good suggestions. It is also possibl

Re: Version 2 outreach?

2015-08-17 Thread Mikael Ståldal
Perhaps the Zookeeper project should split out a client library module (which should only depend on SLF4J-API). On Mon, Aug 17, 2015 at 12:07 PM, Ralph Goers wrote: > If you will note, Christian put in a plug for Log4j 2 quite some time ago > in that Jira issue. From reading the issue it seems t

Re: Version 2 outreach?

2015-08-17 Thread Xen
I can't summarize if you are not willing to do your work I can't do much else. Bye. Op 17-8-2015 om 12:09 schreef Ralph Goers: Just letting you know I did NOT read your email beyond the first 2 paragraphs. It is just way too long. Please summarize if you have something important to say. Ral

Re: Version 2 outreach?

2015-08-17 Thread Xen
Here is the same message with two paragraphs taken out that are numbered and that you would have seen had you scrolled down: You need to determine what level of involvement is required for anyone doing programmatic customization: 1. Free to use the API from the outside. 2. Need to subclass a

[jira] [Updated] (LOG4J2-1094) Multi thread initialization problem

2015-08-17 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1094?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma updated LOG4J2-1094: Description: I wrote a very simple example which has a behaviour I do not expect: If I call LogMan

[jira] [Updated] (LOG4J2-1094) Multi thread initialization problem

2015-08-17 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1094?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma updated LOG4J2-1094: Description: I wrote a very simple example which has a behaviour I do not expect: If I call LogMan

[jira] [Commented] (LOG4J2-1094) Multi thread initialization problem

2015-08-17 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14699510#comment-14699510 ] Remko Popma commented on LOG4J2-1094: - I agree with Ralph that this is a rare case an

[jira] [Commented] (LOG4J2-1094) Multi thread initialization problem

2015-08-17 Thread Bart S. (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14699520#comment-14699520 ] Bart S. commented on LOG4J2-1094: - Maybe a real method could be used (from core?) that do

[jira] [Commented] (LOG4J2-1094) Multi thread initialization problem

2015-08-17 Thread Bart S. (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14699522#comment-14699522 ] Bart S. commented on LOG4J2-1094: - It must be said that libraries should never call that.

[jira] [Commented] (LOG4J2-1094) Multi thread initialization problem

2015-08-17 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14699527#comment-14699527 ] Ralph Goers commented on LOG4J2-1094: - Yes, Remko. Something along those lines would

[jira] [Commented] (LOG4J2-952) FAQ: How do I configure log4j2 programmatically in code without a configuration file?

2015-08-17 Thread Behrooz Nobakht (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14699550#comment-14699550 ] Behrooz Nobakht commented on LOG4J2-952: Thank you Bart and Mikael for your commen

[jira] [Commented] (LOG4J2-952) FAQ: How do I configure log4j2 programmatically in code without a configuration file?

2015-08-17 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14699575#comment-14699575 ] Ralph Goers commented on LOG4J2-952: Just so you are aware, I have started working on

[jira] [Commented] (LOG4J2-1094) Multi thread initialization problem

2015-08-17 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14699584#comment-14699584 ] Remko Popma commented on LOG4J2-1094: - Agreed: looks like all getContext methods in

[jira] [Commented] (LOG4J2-1094) Multi thread initialization problem

2015-08-17 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14699592#comment-14699592 ] Remko Popma commented on LOG4J2-1094: - Bart, I do not think that your idea to support

[jira] [Commented] (LOG4J2-1094) Multi thread initialization problem

2015-08-17 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14699710#comment-14699710 ] Gary Gregory commented on LOG4J2-1094: -- I am starting to wonder if it is not indeed

[jira] [Commented] (LOG4J2-1094) Multi thread initialization problem

2015-08-17 Thread Bart S. (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14699718#comment-14699718 ] Bart S. commented on LOG4J2-1094: - Of course, I was not suggesting that it would. I'm jus

[jira] [Created] (LOG4J2-1095) How can we have multiple Configurations?

2015-08-17 Thread Bart S. (JIRA)
Bart S. created LOG4J2-1095: --- Summary: How can we have multiple Configurations? Key: LOG4J2-1095 URL: https://issues.apache.org/jira/browse/LOG4J2-1095 Project: Log4j 2 Issue Type: Brainstorming

[jira] [Updated] (LOG4J2-1095) How can we have multiple Configurations?

2015-08-17 Thread Bart S. (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bart S. updated LOG4J2-1095: Description: So the question is how can a user maintain multiple configurations that he can then establish

[jira] [Updated] (LOG4J2-1095) How can we have multiple Configurations?

2015-08-17 Thread Bart S. (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bart S. updated LOG4J2-1095: Attachment: log4j-xen-configurationbuilder-uml.jpg > How can we have multiple Configurations? > ---

[jira] [Updated] (LOG4J2-1095) How can we have multiple Configurations?

2015-08-17 Thread Bart S. (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bart S. updated LOG4J2-1095: Description: So the question is how can a user maintain multiple configurations that he can then establish

[jira] [Commented] (LOG4J2-952) FAQ: How do I configure log4j2 programmatically in code without a configuration file?

2015-08-17 Thread Bart S. (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14700088#comment-14700088 ] Bart S. commented on LOG4J2-952: Please also check [LOG4J2-1095|https://issues.apache.org

Suggestion for factory extension for programmatic contol (idea)

2015-08-17 Thread Xen
To propose some concrete idea then. A plugin or extension that would allow programmatic control/config would have to do at least two things: - provide a Factory that plugs into core and that enables the easier control/config. - provide a Configuration that embodies this. - provide an interf

[jira] [Commented] (LOG4J2-1095) How can we have multiple Configurations?

2015-08-17 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14700399#comment-14700399 ] Remko Popma commented on LOG4J2-1095: - A picture worth a thousand words. Well done, B

[jira] [Commented] (LOG4J2-1095) How can we have multiple Configurations?

2015-08-17 Thread Bart S. (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14700789#comment-14700789 ] Bart S. commented on LOG4J2-1095: - I feel embarassed having used that wonderful software

[jira] [Commented] (LOG4J2-1095) How can we have multiple Configurations?

2015-08-17 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14700816#comment-14700816 ] Gary Gregory commented on LOG4J2-1095: -- +1 :-) > How can we have multiple Configura