summaryrefslogtreecommitdiff
path: root/monitor/josef_monitor.py
diff options
context:
space:
mode:
authorJosef Gustafsson <josef.gson@gmail.com>2015-09-30 12:33:44 +0200
committerJosef Gustafsson <josef.gson@gmail.com>2015-09-30 12:33:44 +0200
commit8e7f6d4953c149c1a71445e1f62f60108c788a6a (patch)
treeeb7c17de77eb1d736afd0c59bdcf6c0d0f9a4a08 /monitor/josef_monitor.py
parente4f3b41398a6ca3aefe80be41e1254168f940121 (diff)
minor cleaning
Diffstat (limited to 'monitor/josef_monitor.py')
-rwxr-xr-xmonitor/josef_monitor.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/monitor/josef_monitor.py b/monitor/josef_monitor.py
index 05fae79..1866a63 100755
--- a/monitor/josef_monitor.py
+++ b/monitor/josef_monitor.py
@@ -32,7 +32,7 @@ if os.path.isfile(args.config):
ERROR_STR = CONFIG.ERROR_STR
else:
print "Config file not found!"
- ERROR_STR = "ERROR: "
+ ERROR_STR = "(local)ERROR: "
sys.exit()
@@ -82,7 +82,7 @@ class ctlog:
if self.entries != start_size:
if not verify_subtree(self.sth, self.subtree, self.url):
- self.log(ERROR_STR + "Failed to build tree from entries!")
+ self.log(ERROR_STR + "Failed to verify newly built subtree!")
def fetch_and_increment_subtree(self, first, last, url, subtree =[[]]):
new_leafs = []