Just use the setName method from the AppenderSkeleton superclass. HTH, Ceki

At 16:42 07.01.2002 -0700, T Master wrote:
>What is the name of a FileAppender when constructed dynamically?
>
>I am using the RollingFileAppender, and wondering how to identify my
>appender at run-time.
>I see the Constructor does not accept a name.
>
>What I am trying to do is deteect if an appender is associated with a
>Category.
>This is done by using appender.getName()  to check if a Category contains my
>appender.
>It is always returning null.
>
>
>T Master
>
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
Ceki Gülcü - http://qos.ch



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

Reply via email to