PrintObject determines if the startup status log messages should include
initialization statements for this plugin (if my understanding is correct).
Sent from my iPhone
> On 2015/08/28, at 13:47, Nicholas Duane wrote:
>
> While I got my LevelRangeFilter working I didn't get an answer to #1 bel
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 d
While I got my LevelRangeFilter working I didn't get an answer to #1 below.
Can someone answer that for me so that I can code appropriately?
Thanks,
Nick
> From: nic...@msn.com
> To: log4j-user@logging.apache.org
> Subject: plugins
> Date: Thu, 27 Aug 2015 14:51:58 -0400
>
>
>
>
> I've go
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
still doesn't work.
>
> Thanks,
> Nick
>
> > Subject: Re: plugins
> > From: remko.po...@gmail.com
> > Date: Fri, 28 Aug 2015 07:25:35 +0900
> > To: log4j-user@logging.apache.org
> >
> > Perhaps the simplest thing to do is to add the packages attr
I tried that. I created a jar, I think correctly, from my
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
> Date: Fr
n my program I'm seeing the following error from log4net:
>
> 2015-08-27 15:23:09,682 ERROR File contains an invalid element or attribute
> "LevelRangeFilter"
>
> Here is my config:
>
>
>
>
>
>
>
>
>
>
>
gram I'm seeing the following error from log4net:
2015-08-27 15:23:09,682 ERROR File contains an invalid element or attribute
"LevelRangeFilter"
Here is my config:
%d %p %c{1.} [%t] %m%n
omments 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
>>
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:
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 wrote:
>
>
>
> I've got a couple questions regarding plugins I'm hoping
11 matches
Mail list logo