AIL PROTECTED]
Subject: RE: Use of java.io.File
Thanks for the response Harald.
Problem is not with getting PropertyConfigure compliant but rather
PropertyWatchDog class which attempts to use File class . I guess I will
for go the PropertyWatchdog and stick with the simple PropertyConfigurator
cc:
"'[EMAIL PROTECTED]'"
<[EMAIL PROTECTED]>
03/01/2002 12:02 Subject: RE: Use of java.io.File
Hello!
You can do something like this:
url = getClass().getClassLoader().getResource( "/log4jconfig.xml" );
DOMConfigurator.configure( url );
or
url = getClass().getClassLoader().getResource( "/log4jconfig.conf"
);
PropertyConfigurator.configure( url );
Harald