From: Brian Warner <warner@allmydata.com>
Date: Tue, 14 Aug 2007 09:12:30 +0000 (-0700)
Subject: client.py: make a note in the logs when the auto-shutdown feature is in use
X-Git-Url: https://git.rkrishnan.org/%5B/frontends/CLI.rst?a=commitdiff_plain;h=a0c16f1a3615bdb7ad9abbc17fa08be1cbd6c250;p=tahoe-lafs%2Ftahoe-lafs.git

client.py: make a note in the logs when the auto-shutdown feature is in use
---

diff --git a/src/allmydata/client.py b/src/allmydata/client.py
index d54d1faa..7b5f5182 100644
--- a/src/allmydata/client.py
+++ b/src/allmydata/client.py
@@ -65,6 +65,7 @@ class Client(node.Node, Referenceable):
         hotline_file = os.path.join(self.basedir,
                                     self.SUICIDE_PREVENTION_HOTLINE_FILE)
         if os.path.exists(hotline_file):
+            self.log("hotline file noticed, starting timer")
             hotline = TimerService(1.0, self._check_hotline, hotline_file)
             hotline.setServiceParent(self)