Hello,

I am using log4j in my web app and it works just fine.

Now I want my my app to be dynamically configurable by log4j's PropertyConfigurator.configureAndWatch method which takes String parameter for log4.properties file location and optionally a time interval to check for changes in the config file.

I am calling this method in my application ASO and it works if I provide an *absolute* path to log4j.properties file which is in web app's WEB-INF/classes. Why it doesn't work by just setting "log4j.properties" as the parameter? It is on the class path.

How can I get an absolute path in application ASO class if there is no other solution?

Thanks,
Borut


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

Reply via email to