Hi Arthur, in the future, please send this to the list. I'm replying there now.
See comments below.... Quoting Arthur Brown <[EMAIL PROTECTED]>: > Hello Ceki, > Hello Jacob, > > I purchased the complete log4j manual. > In Chapter 8 you introduced the JNDIRS class and stated, that the concept is > working with weblogic (based on JNDI). > > Furthemore, I found in the sandbox of release log4j 1.3 the > ContextJNDISelector Implementation. > The latest version of the logging-log4j-sandbox should not have ContextJNDISelector as it was compatible only with the Log4j-1.2.x versions of Log4j. You will find a Log4j-1.3 compatible version in, you guessed it, Log4j-1.3. > I try to use the ContextJNDISelector with bea weblogic 8.1 sp3. > > Unfortunatelly I do not know how and where (during initialization phase of > weblogic?) to replace the default RepositorySelector with the > ContextJNDISelector. > You can either do it as a property provided at VM startup. I'm not positive I remember the name of the property, but I think it is something like... java -Dlog4j.selector=JNDI Ceki can verify this. You can also do it programatically. See InitShutdownController.java in logging-log4j-sandbox for more info on how to do this. > Second question is how to change the level of some logger(s) during runtime > (without redeployment) of _one_ server. > Use a webapp-based Log4j configuration utility. There is one in the sandbox and others listed on the log4j website. > Third question, is how to change the level of some logers(s) durng runtime > (without redeployment) for a domain of servers (organized in a cluster). > > May be I need something like JMS listener in each server, that list for > log4j reconfigure event and once got the event restart configure process of > log4j. Not positive about clustering. Someone else will have to comment here. Jake > > Thank you very much for any help. > Regards > David Ostrovsky > > -- > GMX im TV ... Die Gedanken sind frei ... Schon gesehen? > Jetzt Spot online ansehen: http://www.gmx.net/de/go/tv-spot > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
