Hi,

what is the purpose of the guard in setRepositorySelector()? I miss a
possibility to reset the LogManager repository selector to it's default
value (including resetting the guard). Why? I deploy my application in
JBoss. I want to have separate logging for my application so I use the
setRepositorySelector() (see   http://www.qos.ch/logging/sc.jsp) in my
servlet listener. However when my application is undeployed, I need some way
how to reset the repository selector to it's previous value (or default),
otherwise JBoss throws lots of exceptions clearly because my implementation
of RepositorySelector.getLoggerRepository() was unloaded. Currently I fixed
the problem with reflection - I reset the LogManager.guard to null. It works
but do I sit on a timing bomb?

Thanks, Jan




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

Reply via email to