OK, let me try to phrase it differently. Client app creates application category, say "CurrBizzApp". To distinguish itself from other loggings for that same app., it adds a subcategory, say ".Client". And logs under that subcategory thereafter. Client uses services, provided by EJBs that are NOT specifically designated to serve that particular app, but could me involved in many different ones. Once an EJB gets invoked for that app ( "CurrBizzApp"), we'd like it to create another subcategory of "CurrBizzApp", say ".Bean".
Using the same parent category allows to use the same log settings without hardcoding them. Now the Q: is it possible to see/refer to an element in the category hierarchy established under different VM? Does it make sense, Ceki? Best regards, JB -- On Thu, 11 Oct 2001 23:05:38 Ceki G�lc� wrote: >At 14:09 11.10.2001 -0400, you wrote: >>Hello all! >> >>May be someone can give me a hand with this. >> >>AppServer. Lots of EJBs deployed. Some of them are used in >>multiple "business threads", depending on the invocation chain >>( am I clear here?). >>Each client creates its own root category ( i.e. "CurrBizzApp") >>and adds its name afterwards ( ".CurrBizzClient"), resulting >>in a hierarchy. > > >What do you mean by each client creates it's own root category? >Log4j root categories cannot be named. > > >>Is it possible to refer to the clients' root category inside >>the EJB, so that all logging is done by "application", initiated >>by the client? ( Ideally we'd like to be able to have a category >>in the bean "CurrBizzApp.CurrBean" without passing root >>category name to the bean.) >> >>Sorry, if my Q is not clear. Please, let me know. > >Nope it ain't clear at all. Sorry. > > >-- >Ceki G�lc� - http://qos.ch >Link of the day: http://www.skeptictank.org/isaac.htm > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > Make a difference, help support the relief efforts in the U.S. http://clubs.lycos.com/live/events/september11.asp --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
