Do I need to call activateOptions() after setName() ? Just trying to be careful.....
----- Original Message ----- From: "Ceki Gülcü" <[EMAIL PROTECTED]> To: "Log4J Users List" <[EMAIL PROTECTED]> Sent: Monday, January 07, 2002 5:02 PM Subject: Re: What is the name of a FileAppender when constructed dynamically? > > 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]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>