aspose file tools*
The moose likes Java in General and the fly likes Using PropertyConfigurator Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Using PropertyConfigurator" Watch "Using PropertyConfigurator" New topic
Author

Using PropertyConfigurator

ramjcp kris
Greenhorn

Joined: Sep 05, 2005
Posts: 27
Hi All

I am using PropertyConfigurator.configureandwatch(String configfilename,long delay)to read the configuration file.

if i set the time period to less than 10 seconds,does it have more impact on my Application server.

The config file is one which contains the options regarding the logging.

I think a thread will start for every 10seconds and it starts polling.

please do let me know what impact does it has ,or can i go with it
Carol Enderlin
drifter
Ranch Hand

Joined: Oct 10, 2000
Posts: 1364
This is a log4j question, so it could be moved to "Other Open Source Projects" forum.

Why would you need to set the delay to less than 10 seconds or even less a few minutes? The default (in log4j 1.2.9 src code) is 60 seconds.
 
wood burning stoves
 
subject: Using PropertyConfigurator