On 10 April 2012 21:37, Ryan Smith <[email protected]> wrote:
> I guess I should include the code as part of the email , its only a few
> lines.
>
> ClassLoader cl = ClassLoader.getSystemClassLoader();
> URL[] urls = ((URLClassLoader)cl).getURLs();
> for(URL url: urls){
> System.out.println(url.getFile());
> }
>
> On Tue, Apr 10, 2012 at 3:36 PM, Ryan Smith <[email protected]
> >wrote:
>
>
I did it. It got my configuration file detected automatically, however it
only changes first few lines of log4j debug statement. Rest was the same -
so the effect was also the same.