Thanks for the reply. I was going to put the loggers into jndi so that I could gain access to them from within my EJBs. I know that Jboss does have built-in jboss support but I am trying to keep my EJBs pure so that I would not be tied to one app server (actually a constraint on my project). I also wanted to manage the logging via mbeans. Right now I don't see any clear way to use log4j in enterprise beans and easily manage the logging at run time.
-Ryan Cuprak On 8/21/02 11:38 AM, "Shapira, Yoav" <[EMAIL PROTECTED]> wrote: > Hi, > Much like "are my beloved Patriots going to win the SuperBowl again?", > the answer to your question is almost definitely no. Logger is not > serializable. You can easily and quickly tell that from the JavaDoc, > at: > http://jakarta.apache.org/log4j/docs/api/index.html > > (class Logger or an ancestor would have to implement > java.io.Serializable and I don't think it does). > > Your use-case is interesting. Why did you want to put the loggers into > JNDI? > > Yoav Shapira > Millennium ChemInformatics > > >> -----Original Message----- >> From: Ryan Cuprak [mailto:[EMAIL PROTECTED]] >> Sent: Wednesday, August 21, 2002 11:26 AM >> To: Log4J Users List >> Subject: Logger serializable? >> >> >> Just out of curiosity - are loggers serializable? In other words, can > they >> be safely put into jndi? I was going to setup the loggers for my EJBs > in >> Mbeans and put the loggers into jndi (using jboss). >> >> -Ryan >> >> >> ----------------------------------------------------------------------- > --- >> Ryan Cuprak Software Developer Eastman Kodak >> www.cuprak.net Cell: (203)-376-8789 >> [EMAIL PROTECTED] Office: (203)-786-5682 >> [EMAIL PROTECTED] Home: (203)-407-8267 >> AIM: rcupr >> ----------------------------------------------------------------------- > --- >> >> >> -- >> To unsubscribe, e-mail: <mailto:log4j-user- >> [EMAIL PROTECTED]> >> For additional commands, e-mail: <mailto:log4j-user- >> [EMAIL PROTECTED]> > > > This e-mail, including any attachments, is a confidential business > communication, and may contain information that is confidential, proprietary > and/or privileged. This e-mail is intended only for the individual(s) to whom > it is addressed, and may not be saved, copied, printed, disclosed or used by > anyone else. If you are not the(an) intended recipient, please immediately > delete this e-mail from your computer system and notify the sender. Thank > you. > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -------------------------------------------------------------------------- Ryan Cuprak Software Developer Eastman Kodak www.cuprak.net Cell: (203)-376-8789 [EMAIL PROTECTED] Office: (203)-786-5682 [EMAIL PROTECTED] Home: (203)-407-8267 AIM: rcupr -------------------------------------------------------------------------- -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>