Module: check_mk
Branch: master
Commit: 1cffc736158cb052af1511a91c2e4d3b38eba71e
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=1cffc736158cb0…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Aug 1 08:37:03 2018 +0200
Add some missing loggers
Change-Id: I559dafb4d1871376779a10dcbccde2dbb3373a6f
---
cmk/ec/main.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/cmk/ec/main.py b/cmk/ec/main.py
index 10d39a3..5c45454 100644
--- a/cmk/ec/main.py
+++ b/cmk/ec/main.py
@@ -581,6 +581,8 @@ class Perfcounters(object):
self._times = {}
self._last_statistics = None
+ self.logger = logger.getChild("Perfcounters")
+
def count(self, counter):
with self._lock:
self._counters[counter] += 1
@@ -2645,6 +2647,7 @@ class StatusTable(object):
def __init__(self):
super(StatusTable, self).__init__()
+ self.logger = logger.getChild("status_table.%s" % self.prefix)
self._populate_column_views()
def _populate_column_views(self):
@@ -2658,6 +2661,7 @@ class StatusTable(object):
self.column_indices = dict([(name, index) for index, name
in enumerate(self.column_names)])
+
def query(self, query):
requested_column_indexes = query.requested_column_indexes()