logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bobby Nations <bwnati...@fedex.com>
Subject Re: WebLogic 6.1 and log4j
Date Tue, 26 Feb 2002 19:52:40 GMT
We use the init() method of our servlets to do the 
PropertyConfigurator.configure() or the constructor of our beans. 
 Incidentally, we've had fewer problems finding the properties file when 
we use PropertyConfigurator.configureAndWatch( "someFileName.properties" 
).  Don't know why.  In our regular objects (i.e. not servlets or 
EJB's), we do this in the constructors.

Hope this helps.


Dan Lipofsky wrote:

>My config.xml file has something like
>    <StartupClass ClassName="com.mycompany.Init" Name="Init"
>The Init class has a main() method which gets run.
>It just calls Init.init() which does the work.
>- Dan
>----- Original Message -----
>>I searched the archive for this question and could not find my exact
>>answer. I see that log4j is working in an app server environment so I
>>imagine it is not a bottleneck if I use it inside EJBs. I'm hoping it is
>>not I should say. My question though is this. How can I set the
>>ProperyConfigurator.configure() when there is no main in an app server
>To unsubscribe, e-mail:   <mailto:log4j-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:log4j-user-help@jakarta.apache.org>

Sr. Programmer / Analyst
FedEx Services
20 FedEx Parkway
Collierville, TN  38017
(901) 263-6517

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message