You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Gi...@mortgage.wellsFargo.COM on 2001/09/04 21:39:24 UTC
Help needed to configureAndWatch method
Hi I am trying to run following code. It does's not run , it is stuck on
number 30 rather it hangs. I don't understand what mistake i am making.
String logPropertiesFile = "/log.properties";
PropertyConfigurator.configureAndWatch(logPropertiesFile,30);
I have log.properties in my c drive.
Thanks
Giri
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org
RE: Help needed to configureAndWatch method
Posted by Craig Newlander <cn...@eqtc.com>.
You want watch it roughly 30 times a second?
That parameter is in miliseconds.
Try setting it to 3000 for every 3 seconds.
-----Original Message-----
From: Giri.Gowdar@mortgage.wellsFargo.COM
[mailto:Giri.Gowdar@mortgage.wellsFargo.COM]
Sent: Tuesday, September 04, 2001 2:39 PM
To: log4j-user@jakarta.apache.org
Subject: Help needed to configureAndWatch method
Hi I am trying to run following code. It does's not run , it is stuck on
number 30 rather it hangs. I don't understand what mistake i am making.
String logPropertiesFile = "/log.properties";
PropertyConfigurator.configureAndWatch(logPropertiesFile,30);
I have log.properties in my c drive.
Thanks
Giri
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org