To anwer your question.. I don't know how to remove a category... but still I am a bit curious under what cirsumstances do you want to start a category for logging, and the suddenly stop logging and want to remove it. I just don't see when that would happen... of course, we may be using log4j in totally different apps and that is why...
Ylan > -----Original Message----- > From: T Master [mailto:[EMAIL PROTECTED]] > Sent: Thursday, October 18, 2001 4:24 PM > To: LOG4J Users Mailing List > Subject: Re: removing a Category... > > > Strange question I know; I just don't want it to be "alive" in the system, > and usable. > > > ----- Original Message ----- > From: "Ylan Segal" <[EMAIL PROTECTED]> > To: "LOG4J Users Mailing List" <[EMAIL PROTECTED]> > Sent: Thursday, October 18, 2001 4:00 PM > Subject: RE: removing a Category... > > > > T: > > > > Why do you want to remove a Categpry in the first place? > > > > Ylan Segal > > > > -- Failure is not an option, it comes bundled with your > Microsoft product > > > > > > > > > -----Original Message----- > > > From: T Master [mailto:[EMAIL PROTECTED]] > > > Sent: Thursday, October 18, 2001 3:49 PM > > > To: [EMAIL PROTECTED] > > > Subject: removing a Category... > > > > > > > > > > > > First of all, all replies welcome! > > > > > > > > > A Category can be created dynamically. However, is it possible to > > > "destroy"/ remove one? > > > > > > Perhaps a workaround is to remove all its appenders (so it is > effectively > > > doing nothing), and set its priority to FATAL. > > > > > > Then when created, to get the instance by name again, and set its > priority > > > to INFO. > > > > > > > > > Comments PLEASE. > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]