Yes, i did that last night after Ceiki said I was being Lazy :o)

First I gave my Heirarchy a RootCategory of INFO.
Still no joy.  Then I looked at getPriority() and getChainedPriority().

I agree with you, that if getPriority() == null, then getChainedPriority()
should be called.
However, if that is not correct, then noone should ever use getPriority(),
unless they wanted to know if that Category had an explicit Priority set.

Then again we have inheritance of Category Priorities for a purpose..... so
go figure.


----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "LOG4J Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, October 19, 2001 2:35 AM
Subject: Ad: Re: Null Priority obtained from Category. Bug?


>
> I think you can use Category.getChainedPriority(). However, I must admit
> that I too would expect that getPriority would do the same as
> getChainedPriority(). After all, what is the purpose of priority if it is
> null?
>
> mvh
> Morten Simonsen



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to