Note that I wrote such a filter, which is under review ATM here:
- https://issues.apache.org/jira/browse/LOG4J2-1106
- https://issues.apache.org/jira/browse/LOG4J2-1105
Gary
On Thu, Aug 27, 2015 at 11:51 AM, Nicholas Duane nic...@msn.com wrote:
I've got a couple questions regarding plugins
Based on your previous comments I assume one would show up out-of-the-box at
some point. Of course I need mine now so unfortunately I have to write one.
Any input on my questions below?
Thanks,
Nick
Date: Thu, 27 Aug 2015 12:20:07 -0700
Subject: Re: plugins
From: garydgreg...@gmail.com
level=ALL
AppenderRef ref=info/
/Logger
Root
/Root
/Loggers
/Configuration
Thanks,
Nick
Subject: Re: plugins
From: ralph.go...@dslextreme.com
Date: Thu, 27 Aug 2015 14:20:28 -0700
To: log4j-user@logging.apache.org
Can’t you just compare what you wrote to what Gary wrote
comments I assume one would show up out-of-the-box at
some point. Of course I need mine now so unfortunately I have to write one.
Any input on my questions below?
Thanks,
Nick
Date: Thu, 27 Aug 2015 12:20:07 -0700
Subject: Re: plugins
From: garydgreg...@gmail.com
To: log4j-user
Loggers
Logger name=HelloWorld level=ALL
AppenderRef ref=info/
/Logger
Root
/Root
/Loggers
/Configuration
Thanks,
Nick
Subject: Re: plugins
From: ralph.go...@dslextreme.com
Date: Thu, 27 Aug 2015 14:20:28 -0700
To: log4j-user@logging.apache.org
Can’t you just
LevelRangeFilter.class file. I added that to the packages attribute, as
you can see in the config I previously sent. It still doesn't work.
Thanks,
Nick
Subject: Re: plugins
From: remko.po...@gmail.com javascript:;
Date: Fri, 28 Aug 2015 07:25:35 +0900
To: log4j-user@logging.apache.org
printObject affects the way plugins are logged when you have status=debug
enabled. If you set printObject to true then the Plugin’s toString method will
be called to log the Plugin’s “name”. Usually, this is just the
SimpleClassName, but if the class name doesn’t match the Plugin name it can
I can filter on just a single level with my LevelRangeFilter.
Thanks for all the help. Next I have to get the latest log4j installed on
fedora 21 so that I can verify custom levels work.
Nick
Date: Fri, 28 Aug 2015 07:51:32 +0900
Subject: Re: plugins
From: remko.po...@gmail.com