Re: More build problems.

2017-07-14 Thread Ralph Goers
OK - I have verified that FileAppenderPermissionsTest is flawed on OS X. It is reading /etc/groups to find a group for the user. If it doesn’t find a group then it tries to use the user’s name - which doesn’t work because there is no group with that name. On MacOS /etc/groups is only used in sin

Re: [JIRA] Editing comments

2017-07-14 Thread Remko Popma
Reopen the issue. Once the issue is closed, you can only add comments, not edit them. (Shameless plug) Every java main() method deserves http://picocli.info > On Jul 15, 2017, at 4:31, Gary Gregory wrote: > > Hi All, > > What do we have to do to allow us to EDIT comments? > > Gary > Typo Ma

[jira] [Commented] (LOG4J2-1421) Custom plugins packaged in jar files are not loaded by "packages" property mecanism

2017-07-14 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16088182#comment-16088182 ] Gary Gregory commented on LOG4J2-1421: -- Hi All, But that does not solve the initial

Re: [log4j2] status logger not logging INFO level

2017-07-14 Thread Gary Gregory
Let fix my description: I have a case where I pass -D*log4j.debug=false* to the JVM AND my config says *status="trace"* and Status logger info() calls are NOT logged to the console but debug() and trace() events ARE. Gary On Fri, Jul 14, 2017 at 2:34 PM, Gary Gregory wrote: > Hi All: > > I hav

[jira] [Commented] (LOG4J2-1421) Custom plugins packaged in jar files are not loaded by "packages" property mecanism

2017-07-14 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16088126#comment-16088126 ] Gary Gregory commented on LOG4J2-1421: -- Note that filters should be annotated with:

[log4j2] status logger not logging INFO level

2017-07-14 Thread Gary Gregory
Hi All: I have a case where I pass -Dlog4j.debug=true to the JVM AND my config says status="TRACE" and Status logger info() calls are NOT logged to the console. Seen that? Gary

Re: [log4j2] sys props driving me nuts

2017-07-14 Thread Gary Gregory
On Fri, Jul 14, 2017 at 1:49 PM, Matt Sicker wrote: > The old names are all translated to normalized names via some magical > regular expressions from what I recall. I should have some time to work on > Log4j stuff this weekend, so I'll try to get that merged as well. > Thank you sir. Gary >

Re: [log4j2] sys props driving me nuts

2017-07-14 Thread Gary Gregory
On Fri, Jul 14, 2017 at 1:48 PM, Matt Sicker wrote: > Said branch continues to support the alternate naming schemes as fallbacks, > but it prioritizes the log4j2.* naming scheme. > Please. Please. Please. I do not need to track this kind of noise :-P G > On 14 July 2017 at 15:47, Matt Sicker

Re: [log4j2] sys props driving me nuts

2017-07-14 Thread Matt Sicker
The old names are all translated to normalized names via some magical regular expressions from what I recall. I should have some time to work on Log4j stuff this weekend, so I'll try to get that merged as well. On 14 July 2017 at 15:48, Gary Gregory wrote: > Merge it! :-) > > Did you bother to k

Re: [log4j2] sys props driving me nuts

2017-07-14 Thread Gary Gregory
Merge it! :-) Did you bother to keep the old names for compat? G On Fri, Jul 14, 2017 at 1:47 PM, Matt Sicker wrote: > I have an open branch that fixes all this. The only remaining work there is > to clean up merge conflicts and update the documentation to use log4j2.* > everywhere. > > On 14

Re: [log4j2] sys props driving me nuts

2017-07-14 Thread Matt Sicker
Said branch continues to support the alternate naming schemes as fallbacks, but it prioritizes the log4j2.* naming scheme. On 14 July 2017 at 15:47, Matt Sicker wrote: > I have an open branch that fixes all this. The only remaining work there > is to clean up merge conflicts and update the docum

Re: [log4j2] sys props driving me nuts

2017-07-14 Thread Matt Sicker
I have an open branch that fixes all this. The only remaining work there is to clean up merge conflicts and update the documentation to use log4j2.* everywhere. On 14 July 2017 at 15:46, Gary Gregory wrote: > Hi All, > > Our sys prop naming is driving me nuts! > > Sometimes it's "log4j.foo", som

[log4j2] sys props driving me nuts

2017-07-14 Thread Gary Gregory
Hi All, Our sys prop naming is driving me nuts! Sometimes it's "log4j.foo", sometimes it's "log4j*2*.bar", sometimes its "bar". WTF! Can we just PLEASE bite the bullet and make it all "log4j2." or _something_ We could keep the existing names for compat (TDB). ? Gary

[jira] [Commented] (LOG4J2-1813) Provide shorter and more intuitive way to switch on Log4j internal debug logging

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

[jira] [Commented] (LOG4J2-1813) Provide shorter and more intuitive way to switch on Log4j internal debug logging

2017-07-14 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16088013#comment-16088013 ] Gary Gregory commented on LOG4J2-1813: -- Done. > Provide shorter and more intuitive

Re: Specifying packages in Configuration

2017-07-14 Thread Ralph Goers
It doesn’t sound right to me that they are only loaded once per ClassLoader. That said, I’m not sure how a plugin could be unloaded. Ralph > On Jul 14, 2017, at 12:32 PM, Gary Gregory wrote: > > That is fine by me... > > Based on https://issues.apache.org/jira/browse/LOG4J2-1421 is seems that

Re: Specifying packages in Configuration

2017-07-14 Thread Gary Gregory
That is fine by me... Based on https://issues.apache.org/jira/browse/LOG4J2-1421 is seems that our metadata tooling might be too onerous for some folks, hence the packages option... Gary On Fri, Jul 14, 2017 at 12:16 PM, Matt Sicker wrote: > Maybe packages shouldn't be a configuration file opt

[JIRA] Editing comments

2017-07-14 Thread Gary Gregory
Hi All, What do we have to do to allow us to EDIT comments? Gary Typo Master Level 2.

[jira] [Commented] (LOG4J2-1813) Provide shorter and more intuitive way to switch on Log4j internal debug logging

2017-07-14 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16087856#comment-16087856 ] Gary Gregory commented on LOG4J2-1813: -- Which is: - {{-Dlog4j2.debug}} means DEBUG i

Re: Specifying packages in Configuration

2017-07-14 Thread Matt Sicker
Maybe packages shouldn't be a configuration file option considering the limitations? On 14 July 2017 at 13:58, Gary Gregory wrote: > Hi All: > > We document "packages" as: > > A comma separated list of package names to search for plugins. Plugins are > only loaded once per classloader so changin

[jira] [Commented] (LOG4J2-1813) Provide shorter and more intuitive way to switch on Log4j internal debug logging

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

[jira] [Commented] (LOG4J2-1813) Provide shorter and more intuitive way to switch on Log4j internal debug logging

2017-07-14 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16087826#comment-16087826 ] Gary Gregory commented on LOG4J2-1813: -- I plan on change this implementation such th

Specifying packages in Configuration

2017-07-14 Thread Gary Gregory
Hi All: We document "packages" as: A comma separated list of package names to search for plugins. Plugins are only loaded once per classloader so changing this value may not have any effect upon reconfiguration. That seems quite restrictive: - Start app without "packages" in Log4j config - Reco

Looking for presentation source material about logging

2017-07-14 Thread Matt Sicker
I know we've kinda covered this topic before to some extent back before ApacheCon. I'm planning to do a general logging presentation this November at my local Java user group (thanks for the idea, Gary!), and I was wondering if any of you had any useful source material or tips about what to cover.

Re: More build problems.

2017-07-14 Thread Apache
Yes. I did that to the rolling tests but I don't know whether the tests are bad for the permission stuff or whether the functionality doesn't work on MacOS, in which case it would need to be disabled. Ralph > On Jul 14, 2017, at 8:01 AM, Gary Gregory wrote: > > I assume you will be adding JUn

[jira] [Commented] (LOG4J2-1979) Refactoring of StrSubstitutor

2017-07-14 Thread Matt Sicker (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16087439#comment-16087439 ] Matt Sicker commented on LOG4J2-1979: - Which would be here: https://issues.apache.org

[jira] [Commented] (LOG4J2-1979) Refactoring of StrSubstitutor

2017-07-14 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16087438#comment-16087438 ] Gary Gregory commented on LOG4J2-1979: -- Right, so you might want to start in Commons

Re: More build problems.

2017-07-14 Thread Gary Gregory
I assume you will be adding JUnit Assume calls to skip these tests? Gary On Jul 14, 2017 00:01, "Ralph Goers" wrote: > After ignoring the test causing the previous problem I am now encountering > errors with the new permissions test. I am disabling the > RollingAppenderDirect test since it also

[jira] [Commented] (LOG4J2-1979) Refactoring of StrSubstitutor

2017-07-14 Thread Ralph Goers (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16087253#comment-16087253 ] Ralph Goers commented on LOG4J2-1979: - A downside to this is that this class derives

[jira] [Created] (LOG4J2-1979) Refactoring of StrSubstitutor

2017-07-14 Thread JIRA
João Paulo Lemes Machado created LOG4J2-1979: Summary: Refactoring of StrSubstitutor Key: LOG4J2-1979 URL: https://issues.apache.org/jira/browse/LOG4J2-1979 Project: Log4j 2 Issue

[jira] [Comment Edited] (LOG4J2-1421) Custom plugins packaged in jar files are not loaded by "packages" property mecanism

2017-07-14 Thread Paul Burrowes (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16086785#comment-16086785 ] Paul Burrowes edited comment on LOG4J2-1421 at 7/14/17 9:16 AM: ---

[jira] [Comment Edited] (LOG4J2-1421) Custom plugins packaged in jar files are not loaded by "packages" property mecanism

2017-07-14 Thread Paul Burrowes (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-1421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16086785#comment-16086785 ] Paul Burrowes edited comment on LOG4J2-1421 at 7/14/17 9:16 AM: ---

More build problems.

2017-07-14 Thread Ralph Goers
After ignoring the test causing the previous problem I am now encountering errors with the new permissions test. I am disabling the RollingAppenderDirect test since it also will have the same problem with FileWatcher, but I don’t know the cause of the other failures. Ralph ERROR] Failures: [E