I believe if you put the xml file inside your jar file, as other resources
such as images, audio and so on, there shouldn't be any call to the server
at all.
----- Original Message -----
From: "Rickard �-berg" <[EMAIL PROTECTED]>
To: "Log4J Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, June 04, 2003 10:52 AM
Subject: Re: log4j and applets?
> Ramadoss Chinnakuzhandai wrote:
> > Try..
> > PropertyConfigurator.configure("your_propertyfile.properties");
>
> This could work.
>
> > URL url = Logger.class.getResource("your_propertyfile.xml");
> > DOMConfigurator.configure(url.getFile());
>
> This is actually even worse then the default, because it will cause a
> LOT of calls to the server when it tries to load *BeanInfo classes due
> to the introspection.
>
> The property file approach might work. I'll try it out.
>
> /Rickard
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]