write a Log4JInit servlet which loads on startup based on your web.xml.  you
can find sample code on the web.

-----Original Message-----
From: Softwareentwicklung Hauschel
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 22, 2003 7:00 AM
To: Struts Users Mailing List
Subject: AW: loading configuration on startup


But my log4j.properties are a log4j.xml file.
That doesn't work in classpath ;-(
In addition there are mor configurations i need for the whole applikation.

thanks and best regards
Fredy

-----Urspr�ngliche Nachricht-----
Von: Gemes Tibor [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 22. Januar 2003 12:51
An: Struts Users Mailing List
Betreff: Re: loading configuration on startup


2003. janu�r 22. 12:42 d�tummal Softwareentwicklung Hauschel ezt �rtad:
> Hey all,
> were did i load my own configuration on startup ?
>
> for example the log4j configuration.

It is loaded automagically supposing that the log4j.properties resides on
your
CLASSPATH.

Tib

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

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

Reply via email to