• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using PropertyConfigurator

 
ramjcp kris
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1364
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic