>From what I have seen of the code, when you call configureAndWatch, a new
FileWatchdog will be created.  Any previously created FileWatchdog's will
still be active and running.  So, you should be able to call
configureAndWatch 3 times, specifying the files you want to have watched.

BUT, I have to ask, why would you want this?  When one of the files updates,
all of the current changes are going to get blown away by the updated
settings.  Why do you need three files?  I'm curious about this given the
work I have done to specify a watcher in a configuration file.  But it only
really works well when there is just one watcher.

-Mark

-----Original Message-----
From: Chien Wei Tan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 16, 2001 8:52 PM
To: LOG4J Users Mailing List
Subject: How to configure more than 1 config file ?



Hi,

Is there a way to use PropertyConfigurator to .configureAndWatch more than 1
config file???

eg. if i have MyConfigFile1.lcf, MyConfigFile2.lcf, MyConfigFile3.lcf, how
can i configureAndWatch them all?

chienwei


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

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

Reply via email to