Meaningless Drivel is fun!
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Using PropertyConfigurator" Watch "Using PropertyConfigurator" New topic

Using PropertyConfigurator

ramjcp kris

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
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.
I agree. Here's the link:
subject: Using PropertyConfigurator
jQuery in Action, 3rd edition