struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pani, Gourav" <gourav.p...@brightpoint.com>
Subject RE: loading configuration on startup
Date Wed, 22 Jan 2003 13:20:38 GMT
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:Softwareentwicklung@Hauschel.de]
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:tib@i-trade.hu]
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:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>



--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message