[jira] [Created] (LOG4J2-1882) Migrate log4j-api-scala to SBT

2017-04-12 Thread Matt Sicker (JIRA)
Matt Sicker created LOG4J2-1882: --- Summary: Migrate log4j-api-scala to SBT Key: LOG4J2-1882 URL: https://issues.apache.org/jira/browse/LOG4J2-1882 Project: Log4j 2 Issue Type: Improvement

Re: org.apache.logging.log4j.core.config.Configurator.initialize(String, String)

2017-04-12 Thread Remko Popma
It may be good if we add more status logs during initialization for all the locations where we currently try to find the config file. I remember that log4j-web prints all locations. A more compact version of that may be useful. Config file not found is a common theme with Log4j2 on StackOverflow..

Re: org.apache.logging.log4j.core.config.Configurator.initialize(String, String)

2017-04-12 Thread Gary Gregory
I wonder how tricky such a refactoring would be. I could also imagine an enum listing all possible config locations and an API that takes an enum var arg for where to look. The default would be look everywhere. We getting out in left field WRT logging here... but it is still important IMO. Gary

Re: Jira emails

2017-04-12 Thread Steve Souza
ok thanks. will do. On Wed, Apr 12, 2017 at 1:27 PM, Ralph Goers wrote: > You should have gotten a “Welcome email” from me last night explaining > this. All the logging services dev lists have been merged. If you want to > unsubscribe you need to send an email to dev-unsubscribe@logging. > apac

Re: Jira emails

2017-04-12 Thread Ralph Goers
You should have gotten a “Welcome email” from me last night explaining this. All the logging services dev lists have been merged. If you want to unsubscribe you need to send an email to dev-unsubscr...@logging.apache.org . Note that whatever list you w

Re: Jira emails

2017-04-12 Thread Steve Souza
I am suddenly getting logging.apache.org emails although I haven't signed up to get them. Has anyone changed anything lately? Also, how do i get off this distro? On Wed, Apr 12, 2017 at 10:24 AM, Matt Sicker wrote: > Jenkins is a manual config, yeah. > > On 12 April 2017 at 02:45, Apache wrot

Fwd: [2/2] logging-log4j2 git commit: LOG4J2-1880 Warn when a configuration file for an inactive ConfigurationFactory is found

2017-04-12 Thread Gary Gregory
Hi, I think it would help to say what it means for a CF to be inactive vs. active (and how to change that). Gary -- Forwarded message -- From: Date: Apr 12, 2017 8:26 AM Subject: [2/2] logging-log4j2 git commit: LOG4J2-1880 Warn when a configuration file for an inactive Configura

[jira] [Resolved] (LOG4J2-1880) Confusing configuration file discovery

2017-04-12 Thread JIRA
[ https://issues.apache.org/jira/browse/LOG4J2-1880?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mikael Ståldal resolved LOG4J2-1880. Resolution: Fixed Fix Version/s: 2.9 In Git master. [~rem...@yahoo.com] > Confusing

[jira] [Commented] (LOG4J2-1880) Confusing configuration file discovery

2017-04-12 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1880?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15966050#comment-15966050 ] ASF subversion and git services commented on LOG4J2-1880: - Commit

Re: org.apache.logging.log4j.core.config.Configurator.initialize(String, String)

2017-04-12 Thread Remko Popma
The javadoc doesn't tell the full story here, which is that the current method searches the classpath next if the specified file doesn't exist. I guess it returns null after exhausting all options. Gary wants a way to stop in the middle. Sent from my iPhone > On Apr 12, 2017, at 17:53, Mikae

[GitHub] logging-log4j2 issue #62: (LOG4J2-1864) Support capped collection for MongoD...

2017-04-12 Thread codescale
Github user codescale commented on the issue: https://github.com/apache/logging-log4j2/pull/62 Fixed the problem. I extended from the wrong `Builder`. Please review and let me know if it's ok. Thx. --- If your project is set up for it, you can reply to this email and have your reply

Re: Configuration file discovery

2017-04-12 Thread Remko Popma
Perfect! This is the kind of thing I had in mind with the "ergonomics" epic. Relatively minor tweaks that can make troubleshooting a lot easier for users. Sent from my iPhone > On Apr 12, 2017, at 18:01, Mikael Ståldal wrote: > > https://issues.apache.org/jira/browse/LOG4J2-1880 > >> On Wed,

[jira] [Assigned] (LOG4J2-1880) Confusing configuration file discovery

2017-04-12 Thread JIRA
[ https://issues.apache.org/jira/browse/LOG4J2-1880?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mikael Ståldal reassigned LOG4J2-1880: -- Assignee: Mikael Ståldal > Confusing configuration file discovery > --

Re: Jira emails

2017-04-12 Thread Matt Sicker
Jenkins is a manual config, yeah. On 12 April 2017 at 02:45, Apache wrote: > Nevermind. I think Gavin fixed it. > > I imagine Jenkins has to be modified as well. > > > On Apr 11, 2017, at 11:50 PM, Ralph Goers > wrote: > > > > Matt, > > > > It seems Jira is still configured to send to the indiv

[jira] [Commented] (LOG4J2-1864) Support capped collection for MongoDB Log-Provider

2017-04-12 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15965869#comment-15965869 ] ASF GitHub Bot commented on LOG4J2-1864: Github user codescale commented on the i

Re: [General] Logging website updates

2017-04-12 Thread Stefan Bodewig
On 2017-04-12, Robert Middleton wrote: > With the new list, the logging website that contains the main logging > homepage should probably be updated to point at this list instead of > referring to the individual project mailing lists: > http://logging.apache.org/mailing-lists.html True. I've alre

[jira] [Commented] (LOG4J2-1881) Our Custom HTML report is splitting into 2 HTML files when we are running our test overnight. One file has results appended before midnight and the other has the resul

2017-04-12 Thread JIRA
[ https://issues.apache.org/jira/browse/LOG4J2-1881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15965779#comment-15965779 ] Mikael Ståldal commented on LOG4J2-1881: Can you include your configuration? > O

[General] Logging website updates

2017-04-12 Thread Robert Middleton
With the new list, the logging website that contains the main logging homepage should probably be updated to point at this list instead of referring to the individual project mailing lists: http://logging.apache.org/mailing-lists.html (I'm not sure whose responsibility this is) Also, should this

[jira] [Created] (LOG4J2-1881) Our Custom HTML report is splitting into 2 HTML files when we are running our test overnight. One file has results appended before midnight and the other has the results

2017-04-12 Thread Poorvika (JIRA)
Poorvika created LOG4J2-1881: Summary: Our Custom HTML report is splitting into 2 HTML files when we are running our test overnight. One file has results appended before midnight and the other has the results appended post midnight

Re: Configuration file discovery

2017-04-12 Thread Mikael Ståldal
https://issues.apache.org/jira/browse/LOG4J2-1880 On Wed, Apr 12, 2017 at 2:18 AM, Remko Popma wrote: > A better error message sounds like a good idea. > If you make a Jira ticket for this, please make it part of the > "ergonomics" epic: https://issues.apache.org/jira/browse/LOG4J2-1811 > > On T

[jira] [Created] (LOG4J2-1880) Confusing configuration file discovery

2017-04-12 Thread JIRA
Mikael Ståldal created LOG4J2-1880: -- Summary: Confusing configuration file discovery Key: LOG4J2-1880 URL: https://issues.apache.org/jira/browse/LOG4J2-1880 Project: Log4j 2 Issue Type: Impr

Re: org.apache.logging.log4j.core.config.Configurator.initialize(String, String)

2017-04-12 Thread Mikael Ståldal
Given that the Javadoc since 1,5 years ago says: @return The LoggerContext or null if an error occurred (check the status logger) I think it would be fine to return null if the given file is not found. On Wed, Apr 12, 2017 at 10:40 AM, Gary Gregory wrote: > On Wed, Apr 12, 2017 at 1:31 AM, Rem

Re: org.apache.logging.log4j.core.config.Configurator.initialize(String, String)

2017-04-12 Thread Gary Gregory
On Wed, Apr 12, 2017 at 1:31 AM, Remko Popma wrote: > I'd avoid changing the semantics of existing methods. I also favor 3. > (initializeStrict?) > Not a great method name but I am hard-pressed to come up with a better name: - initializeStrict - initializeChecked - initializeValidate - initial

Re: org.apache.logging.log4j.core.config.Configurator.initialize(String, String)

2017-04-12 Thread Remko Popma
I'd avoid changing the semantics of existing methods. I also favor 3. (initializeStrict?) Sent from my iPhone > On Apr 12, 2017, at 15:00, Matt Sicker wrote: > > This is a nice showcase for an Either data type similar to Optional, but > with a value or an error. > >> On 12 April 2017 at 00:4

Re: Wiki still mainly features 1.2

2017-04-12 Thread Mikael Ståldal
Or maybe we should just remove it and point to https://logging.apache.org/ log4j/2.x/ instead? On Tue, Apr 11, 2017 at 11:09 PM, Gary Gregory wrote: > Hi All, > > This site could use a dust up: https://wiki.apache.org/logging-log4j > > Gary > > -- > E-Mail: garydgreg...@gmail.com | ggreg...@apac

Re: [Scala] Let's get version 11.0 going

2017-04-12 Thread Mikael Ståldal
Good. On Tue, Apr 11, 2017 at 9:34 PM, Matt Sicker wrote: > I'm starting a new project at work using Scala 2.12, and I'd like to not > depend on a snapshot version of the API. The maven site generates fine as > far as I can tell from the Jenkins job, but I'm not sure how to > appropriately integ

Re: Jira emails

2017-04-12 Thread Apache
Nevermind. I think Gavin fixed it. I imagine Jenkins has to be modified as well. > On Apr 11, 2017, at 11:50 PM, Ralph Goers wrote: > > Matt, > > It seems Jira is still configured to send to the individual lists. I don’t > seem to have rights to change that. I have asked Gavin to fix that in