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]>

Reply via email to