Here is the promised initialization setup. Read "Usage.txt" in the attached zip file.  I included both source and pre-built jars.  I also included a sample logj4.xml file.  See Usage.txt for specifics on what is unique about this log4j.xml file and for other info like web.xml config.

Oh, and Mark, I plan to submit this stuff under the Apache license.  I just want to clean some stuff up first.  I'll do that within the week.   For now, you can take a look at what things will look like and provide some feedback.

Let me know if you have questions...

Jake

At 02:22 PM 1/14/2003 -0800, you wrote:
Thanks Jacob,

If you could pass on your updated code when you have time, I would greatly appreciate that.

Regards,
Carey

On Tue, 14 Jan 2003 13:03:56 -0600
 Jacob Kjome <[EMAIL PROTECTED]> wrote:
Hello Carey,

Note that the stuff about Barracuda in my previous message will be
moving to Log4j-1.3.  Some have already moved
(ContextClassLoaderSelector).  However, for the time being, things
will exist in both places until Log4j-1.3 is released.

Just wanted to point that out.

Jake

Tuesday, January 14, 2003, 12:18:03 PM, you wrote:

CB> Hi,

CB> I am attempting to deploy a web application in WebLogic CB> via a war file. Since I have no way of determing the CB> actual path that Weblogic will use for deploying my war CB> file, I need a way to access my xml file that holds my CB> log4j properties. I can use CB> servletContext.getResourceAsStream() to get an InputStream CB> object of the xml file. With that what is the best way to CB> load my properties. I see there is a CB> DomConfigurator.doConfigure(InputStream, CB> LoggerRepository). Will this work and if so, what do I CB> pass in for the LoggerRepository object (not familiar with CB> that). In addition, is there a way to get the capability CB> of the watchdog with this?

CB> Thanks for your help!
CB> Carey


CB> --
CB> To unsubscribe, e-mail:  <mailto:[EMAIL PROTECTED]>
CB> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



-- Best regards,
 Jacob                            mailto:[EMAIL PROTECTED]


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


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

Attachment: Log4j_servlet_initialization.zip
Description: Zip archive

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


Reply via email to