Hi, This error is not because of the string you pass to the getLogger call. It's because you have more than one version of the log4j classes at your classpath. Or perhaps you are compiling your code against one version of log4j and running against another.
> 2002-11-05 17:21:58 - Ctx( ): Exception in: R( + /servlet/LQSServlet >+ >null) - java.lang.VerifyError: (class: org/apache/log4j/LogManager, method: ><clinit> signature: ()V) Incompatible argument to function > at org.apache.log4j.Logger.getLogger(Logger.java:85) > at LQSServlet.init(LQSServlet.java:50) > .... Your class doesn't have to be in a package. Logger.getLogger(LQSServlet.class.getName()) will work. Remember you do have to configure log4j somewhere, even if it's just a BasicConfigurator.configure() call. And one more thing: this is a user, not developer, question. Please post to the log4j-user list in the future. Yoav Shapira Millennium ChemInformatics
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:log4j-dev-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:log4j-dev-help@;jakarta.apache.org>