Name org.apache.logging.log4j.junit.InitialLoggerContext class

2015-08-29 Thread Gary Gregory
Hi All, I was going to write a couple of blog posts this weekend about log4j and I was going to start by talking about how useful our InitialLoggerContext test class is to isolate logging configs for specific tests, but I find the class name misleading. The class is a JUnit Rule so it should be po

Re: Name org.apache.logging.log4j.junit.InitialLoggerContext class

2015-08-29 Thread Xen
Ha, you can make it PrimaryJUnitLoggerContextRule if you want ;-). or PrimaryLoggerContextJUnitRule ;-). Regards. On Sat, 29 Aug 2015, Gary Gregory wrote: Hi All, I was going to write a couple of blog posts this weekend about log4j and I was going to start by talking about how useful our Ini

Re: Name org.apache.logging.log4j.junit.InitialLoggerContext class

2015-08-29 Thread Ralph Goers
I too have found that name a bit confusing. It actually kind of makes me think it is somehow a subclass of InitialContext. Either one of your proposed names is fine with me. I guess I prefer LoggerContextRule simply because it is slightly shorter and we don’t support any other “Rule” types tha

[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