"Zeltser, Mark" <[EMAIL PROTECTED]> on 07/18/2001 04:27:12 PM

Please respond to LOG4J Users Mailing List <[EMAIL PROTECTED]>

To:   'LOG4J Users Mailing List' <[EMAIL PROTECTED]>
cc:    (bcc: Timothy P. Grotenhuis)
Subject:  RE: Can't get it to work on weblogic 6.0 sp2


Your configurator isn't finding your config file.


After reinstalling weblogic and making all the adjustments described below I
got the following error:

No appenders could be found for category (some.category.name).log4j: Please
initialize the log4j system properly

Did anyone configure this successfully?

> -----Original Message-----
> From:   Zeltser, Mark
> Sent:   Wednesday, July 18, 2001 12:43 PM
> To:     '[EMAIL PROTECTED]'
> Subject:     Can't get it to work on weblogic 6.0 sp2
>
> Hello,
>
> I have been successfully using log4j with tomcat. I need to deploy the app
> on weblogic 6.0 sp2, jdk 1.3, nt platform. I added log4j.jar and
> log4j-core.jar to the classpath in startWebLogic.cmd   I also made sure
> that
> these files are not under WEB-INF/lib.
>
> I don't get any error messages but I also log file is not generated. How
> can
> I find out why log4j doesn't work?
>
> Thanks, Mark.
>
> Here is my logConfig.xml
> ==========================================================================
> =
> <?xml version="1.0" encoding="UTF-8" ?>
> <!DOCTYPE configuration SYSTEM "log4j.dtd">
>
> <configuration>
>
>   <appender name="A1" class="org.apache.log4j.FileAppender">
>             <param name="File"
> value="c:\bea\wlserver6.0\config\mydomain\applications\hp2\log\app.log" />
>             <param name="Append" value="false" />
>             <layout class="org.apache.log4j.PatternLayout">
>     <param name="ConversionPattern" value="%d{dd MMM yyyy HH:mm:ss,SSS}
> %-5p
> %C{1},%L - %m%n"/>
>             </layout>
>   </appender>
>
>
>   <root>
>      <priority value ="debug" />
>        <appender-ref ref="A1" />
>   </root>
>
> </configuration>
> ==========================================================================
>
> Log4j initialization:
>
> Category cat = Category.getInstance(this.getClass().getName()); //
> instance
> variable
>
> DOMConfigurator.configure(  config.getServletContext().getRealPath(
> config.getInitParameter( "logPath" ) ) );
>
> cat.log( "blablabla");
> ==========================================================================
> =
>
>
> --------------------------------------------------------------------------
> ----
> This message is intended only for the personal and confidential use of the
> designated recipient(s) named above.  If you are not the intended
> recipient of this message you are hereby notified that any review,
> dissemination, distribution or copying of this message is strictly
> prohibited.  This communication is for information purposes only and
> should not be regarded as an offer to sell or as a solicitation of an
> offer to buy any financial product, an official confirmation of any
> transaction, or as an official statement of Lehman Brothers.  Email
> transmission cannot be guaranteed to be secure or error-free.  Therefore,
> we do not represent that this information is complete or accurate and it
> should not be relied upon as such.  All information is subject to change
> without notice.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> --------------------------------------------------------------------------
> ----
> This message is intended only for the personal and confidential use of the
> designated recipient(s) named above.  If you are not the intended
> recipient of this message you are hereby notified that any review,
> dissemination, distribution or copying of this message is strictly
> prohibited.  This communication is for information purposes only and
> should not be regarded as an offer to sell or as a solicitation of an
> offer to buy any financial product, an official confirmation of any
> transaction, or as an official statement of Lehman Brothers.  Email
> transmission cannot be guaranteed to be secure or error-free.  Therefore,
> we do not represent that this information is complete or accurate and it
> should not be relied upon as such.  All information is subject to change
> without notice.
>


------------------------------------------------------------------------------
This message is intended only for the personal and confidential use of the
designated recipient(s) named above.  If you are not the intended recipient of
this message you are hereby notified that any review, dissemination,
distribution or copying of this message is strictly prohibited.  This
communication is for information purposes only and should not be regarded as an
offer to sell or as a solicitation of an offer to buy any financial product, an
official confirmation of any transaction, or as an official statement of Lehman
Brothers.  Email transmission cannot be guaranteed to be secure or error-free.
Therefore, we do not represent that this information is complete or accurate and
it should not be relied upon as such.  All information is subject to change
without notice.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]








---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to