--- Begin Message ---
Try..
PropertyConfigurator.configure("your_propertyfile.properties");
or 
URL url = Logger.class.getResource("your_propertyfile.xml");
DOMConfigurator.configure(url.getFile());
 
HTH..
-Ram

        -----Original Message----- 
        From: Rickard Öberg [mailto:[EMAIL PROTECTED] 
        Sent: Wed 6/4/2003 1:58 PM 
        To: [EMAIL PROTECTED] 
        Cc: 
        Subject: log4j and applets?
        
        

        Hi!
        
        I'm using log4j (wrapped by commons-logging) in an applet, and am having
        a hard time defeating the default behaviour to load log4j.xml and
        log4j.properties. This behaviour causes a bunch of unnecessary calls to
        the webserver, and I'd like to remove them.
        
        Is there any way I can manually configure log4j and avoid the lookup of
        these files?
        
        /Rickard
        
        --
        Rickard Öberg
        [EMAIL PROTECTED]
        Senselogic
        
        Got blog? I do. http://dreambean.com
        
        
        
        ---------------------------------------------------------------------
        To unsubscribe, e-mail: [EMAIL PROTECTED]
        For additional commands, e-mail: [EMAIL PROTECTED]
        
        

<<winmail.dat>>


--- End Message ---
**************************Disclaimer************************************

Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged' and 'confidential' and intended for use only by the individual
 or entity to which it is addressed. You are notified that any use, copying 
or dissemination of the information contained in the E-MAIL in any manner 
whatsoever is strictly prohibited.

***************************************************************************

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

Reply via email to