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

2015-09-03 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14729206#comment-14729206 ] Gary Gregory commented on LOG4J2-952: - Sounds good. Any thoughts on getting LOG4J2-108

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

2015-09-03 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14728618#comment-14728618 ] Remko Popma commented on LOG4J2-952: Go for it. I think we are all happy to merge this

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

2015-09-02 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14728514#comment-14728514 ] Ralph Goers commented on LOG4J2-952: I've updated the branch from master, but I am sur

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

2015-09-01 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14726362#comment-14726362 ] Gary Gregory commented on LOG4J2-952: - I've reviewed and updated the code as much as I

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

2015-08-31 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14724831#comment-14724831 ] Gary Gregory commented on LOG4J2-952: - I think am done with the bulk of my changes for

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

2015-08-31 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14724123#comment-14724123 ] Ralph Goers commented on LOG4J2-952: I don't know that that optimization buys much sin

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

2015-08-31 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14724109#comment-14724109 ] Gary Gregory commented on LOG4J2-952: - In {{org.apache.logging.log4j.core.config.prop

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

2015-08-31 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14724105#comment-14724105 ] Gary Gregory commented on LOG4J2-952: - Committed to the branch. > FAQ: How do I confi

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

2015-08-31 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14723875#comment-14723875 ] Ralph Goers commented on LOG4J2-952: Yes. I forgot to do that. > FAQ: How do I config

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

2015-08-31 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14723845#comment-14723845 ] Gary Gregory commented on LOG4J2-952: - I can see the forest for the trees better and b

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

2015-08-30 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14721694#comment-14721694 ] Ralph Goers commented on LOG4J2-952: I have: 1. Modified Lifecycle to support and INIT

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

2015-08-30 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14721648#comment-14721648 ] Gary Gregory commented on LOG4J2-952: - Yes, the branch looks good but I feel like it n

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

2015-08-30 Thread Bart S. (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14721643#comment-14721643 ] Bart S. commented on LOG4J2-952: I think I'm just going to fork or "subclass" the thing. I

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

2015-08-30 Thread Bart S. (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14721641#comment-14721641 ] Bart S. commented on LOG4J2-952: Better. > FAQ: How do I configure log4j2 programmaticall

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

2015-08-30 Thread Bart S. (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14721640#comment-14721640 ] Bart S. commented on LOG4J2-952: I don't think you should hold on to what a "builder" is.

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

2015-08-30 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14721636#comment-14721636 ] Ralph Goers commented on LOG4J2-952: Yes, that is correct - although AbstractConfigura

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

2015-08-30 Thread Bart S. (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14721635#comment-14721635 ] Bart S. commented on LOG4J2-952: That's what I've been saying. It's a form of a Specificat

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

2015-08-30 Thread Bart S. (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14721629#comment-14721629 ] Bart S. commented on LOG4J2-952: I think you are correct though. Separating it into two pa

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

2015-08-30 Thread Bart S. (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14721628#comment-14721628 ] Bart S. commented on LOG4J2-952: It would still be Wise to change the error message from E

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

2015-08-30 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14721627#comment-14721627 ] Gary Gregory commented on LOG4J2-952: - Thank you for clarifying that again, it helps a

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

2015-08-30 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14721619#comment-14721619 ] Gary Gregory commented on LOG4J2-952: - OK then, if it is clearer to you and you've spe

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

2015-08-30 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14721615#comment-14721615 ] Ralph Goers commented on LOG4J2-952: There is a huge difference between what a builder

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

2015-08-30 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14721613#comment-14721613 ] Ralph Goers commented on LOG4J2-952: I think it is much more clear having them in sepa

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

2015-08-30 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14721611#comment-14721611 ] Ralph Goers commented on LOG4J2-952: After writing the unit test for Configurator now

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

2015-08-30 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14721606#comment-14721606 ] Gary Gregory commented on LOG4J2-952: - {quote} As I said previously, I didn't use "Bui

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

2015-08-30 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14721604#comment-14721604 ] Gary Gregory commented on LOG4J2-952: - {quote} 7. I think there is an error in your st

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

2015-08-30 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14721602#comment-14721602 ] Gary Gregory commented on LOG4J2-952: - {quote} So I have no idea at this point if chan

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

2015-08-30 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14721600#comment-14721600 ] Gary Gregory commented on LOG4J2-952: - {quote} To avoid that you MUST use a Configurat

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

2015-08-30 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14721519#comment-14721519 ] Remko Popma commented on LOG4J2-952: Branch looks good to me. > FAQ: How do I configu

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

2015-08-29 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14721372#comment-14721372 ] Ralph Goers commented on LOG4J2-952: I made most of the changes you requested and chec

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

2015-08-28 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14720649#comment-14720649 ] Ralph Goers commented on LOG4J2-952: Sure. I can create a branch for this. I should ha

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

2015-08-28 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14720604#comment-14720604 ] Gary Gregory commented on LOG4J2-952: - How about putting the patch in a branch so we c

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

2015-08-28 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14720067#comment-14720067 ] Gary Gregory commented on LOG4J2-952: - TL;DR except I saw the reference to [LOG4j2-109

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

2015-08-28 Thread Bart S. (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14718649#comment-14718649 ] Bart S. commented on LOG4J2-952: And you're also causing me to take time off my day becaus

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

2015-08-28 Thread Bart S. (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14718629#comment-14718629 ] Bart S. commented on LOG4J2-952: You have an issue with actually thinking about something.

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

2015-08-28 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14718553#comment-14718553 ] Ralph Goers commented on LOG4J2-952: Bart, Jira is not an email system for you to docu

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

2015-08-28 Thread Bart S. (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14718315#comment-14718315 ] Bart S. commented on LOG4J2-952: Pff. Confusing, everything. I think the assembler solutio

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

2015-08-27 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14718118#comment-14718118 ] Ralph Goers commented on LOG4J2-952: Wow your update is long! 1. I have shown two way

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

2015-08-27 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14718085#comment-14718085 ] Gary Gregory commented on LOG4J2-952: - Ralph, Nice work! Great stuff! Here are my no

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

2015-08-27 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14717996#comment-14717996 ] Ralph Goers commented on LOG4J2-952: Thanks. I will wait for feedback from Gary. If he

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

2015-08-27 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14717987#comment-14717987 ] Remko Popma commented on LOG4J2-952: Reviewed patch 4. This looks very nice. A lot of

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

2015-08-25 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14712554#comment-14712554 ] Ralph Goers commented on LOG4J2-952: The hope is that using addComponent allows you to

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

2015-08-25 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14711195#comment-14711195 ] Remko Popma commented on LOG4J2-952: Finally had a chance to look at the patch. I like

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

2015-08-24 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14709192#comment-14709192 ] Ralph Goers commented on LOG4J2-952: The log4j1 file contains class names for appender

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

2015-08-24 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14708881#comment-14708881 ] Gary Gregory commented on LOG4J2-952: - Have a different a properties file format than

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

2015-08-23 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14708864#comment-14708864 ] Ralph Goers commented on LOG4J2-952: No, it is not in a branch. You should be able to

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

2015-08-23 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14708860#comment-14708860 ] Remko Popma commented on LOG4J2-952: Ralph, is this in a branch? I'd like to play with

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

2015-08-19 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14703737#comment-14703737 ] Gary Gregory commented on LOG4J2-952: - Especially easy if you use Jackson. > FAQ: How

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

2015-08-19 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14703738#comment-14703738 ] Gary Gregory commented on LOG4J2-952: - Especially easy if you use Jackson. > FAQ: How

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

2015-08-19 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14703355#comment-14703355 ] Ralph Goers commented on LOG4J2-952: Converting the Assembly into XML or JSON should b

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

2015-08-19 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14703290#comment-14703290 ] Gary Gregory commented on LOG4J2-952: - It would be neat to be able to transmit a confi

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

2015-08-19 Thread Bart S. (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14702957#comment-14702957 ] Bart S. commented on LOG4J2-952: Is there a reason the "getFilterAssembler()" (for instanc

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

2015-08-18 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14702530#comment-14702530 ] Ralph Goers commented on LOG4J2-952: Although I would prefer it in the API I am not re

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

2015-08-18 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14702043#comment-14702043 ] Gary Gregory commented on LOG4J2-952: - Would this belong in the log4j-api or core modu

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

2015-08-18 Thread Bart S. (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14701344#comment-14701344 ] Bart S. commented on LOG4J2-952: Let's say the difference is that {{getAssembler()}} means

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

2015-08-18 Thread Bart S. (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14701319#comment-14701319 ] Bart S. commented on LOG4J2-952: That is like really verbose! Oeph!. But I get the idea.

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

2015-08-18 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14701318#comment-14701318 ] Ralph Goers commented on LOG4J2-952: Behrooz - Nothing has been finished yet. I poste

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

2015-08-18 Thread Behrooz Nobakht (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14701308#comment-14701308 ] Behrooz Nobakht commented on LOG4J2-952: I would kindly need a confirmation, pleas

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

2015-08-18 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14701287#comment-14701287 ] Ralph Goers commented on LOG4J2-952: I am working on a configuration builder that look

[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

[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-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-13 Thread Bart S. (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14695452#comment-14695452 ] Bart S. commented on LOG4J2-952: It's weird anyway that {{getConfiguration(ConfigurationSo

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

2015-08-13 Thread JIRA
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14695431#comment-14695431 ] Mikael Ståldal commented on LOG4J2-952: --- BTW, we could make the XML literal approach

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

2015-08-13 Thread Bart S. (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14695411#comment-14695411 ] Bart S. commented on LOG4J2-952: {quote}Forcing compile time dependency on the log4j-core

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

2015-08-13 Thread Bart S. (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14695397#comment-14695397 ] Bart S. commented on LOG4J2-952: {quote} Having some extra imports is not a big deal since

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

2015-08-13 Thread Bart S. (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14695382#comment-14695382 ] Bart S. commented on LOG4J2-952: By the way, the next-prettiest interface API I can think

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

2015-08-13 Thread JIRA
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14695358#comment-14695358 ] Mikael Ståldal commented on LOG4J2-952: --- Having some extra imports is not a big deal

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

2015-08-13 Thread Bart S. (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14695342#comment-14695342 ] Bart S. commented on LOG4J2-952: A typical builder paradigm is that there is a fixed _Cont

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

2015-08-13 Thread JIRA
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14695325#comment-14695325 ] Mikael Ståldal commented on LOG4J2-952: --- I don't understand what the disadvantage wi

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

2015-08-13 Thread Bart S. (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14695305#comment-14695305 ] Bart S. commented on LOG4J2-952: Well, because you have to change the implementation for t

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

2015-08-13 Thread JIRA
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14695279#comment-14695279 ] Mikael Ståldal commented on LOG4J2-952: --- But if we can make it report more errors at

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

2015-08-13 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14695261#comment-14695261 ] Ralph Goers commented on LOG4J2-952: Configuration from files in Log4j is a two step p

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

2015-08-13 Thread JIRA
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14695243#comment-14695243 ] Mikael Ståldal commented on LOG4J2-952: --- My code was only meant to be an example, de

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

2015-08-13 Thread Bart S. (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14695195#comment-14695195 ] Bart S. commented on LOG4J2-952: The problem is that it would no longer be a builder (not

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

2015-08-13 Thread JIRA
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14694867#comment-14694867 ] Mikael Ståldal commented on LOG4J2-952: --- I can see a problem with this, a simple spe

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

2015-08-12 Thread Bart S. (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14694184#comment-14694184 ] Bart S. commented on LOG4J2-952: You could have an API like: addAppender("name", TYPE, pa

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

2015-08-12 Thread Bart S. (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14694048#comment-14694048 ] Bart S. commented on LOG4J2-952: I was writing before all of your comments (the last 3, by

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

2015-08-12 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14694029#comment-14694029 ] Gary Gregory commented on LOG4J2-952: - Are we talking about using a Log4j 1 prop file

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

2015-08-12 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14694027#comment-14694027 ] Gary Gregory commented on LOG4J2-952: - Yep, your right on the busy part. :-) I am sorr

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

2015-08-12 Thread Behrooz Nobakht (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14694006#comment-14694006 ] Behrooz Nobakht commented on LOG4J2-952: Hi Ralph, thanks for taking a look on the

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

2015-08-12 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14693969#comment-14693969 ] Ralph Goers commented on LOG4J2-952: Behrooz - I really like what you have done so far

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

2015-08-12 Thread Behrooz Nobakht (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14693950#comment-14693950 ] Behrooz Nobakht commented on LOG4J2-952: I've been hitting the same requirement an

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

2015-08-12 Thread Bart S. (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14693918#comment-14693918 ] Bart S. commented on LOG4J2-952: You'd still have a configuration file, just not on disk.