summaryrefslogtreecommitdiffstats
path: root/qtip/collector
diff options
context:
space:
mode:
authorwu.zhihui <wu.zhihui1@zte.com.cn>2017-03-13 11:13:14 +0800
committerzhihui wu <zhihui.wu2006+zte@gmail.com>2017-03-15 01:46:53 +0000
commitf018c5ca5e1aaca2f5c5bc9fca7dd4237401cc83 (patch)
tree479741c15f3f5bfc598380ef2c04ad37c50b3167 /qtip/collector
parent3feeebf2165ddec11cd0ee8bf60200961ef48c77 (diff)
optimize console info
- use QtipLogger instead of print - delete useless print Change-Id: I1e08382a5d78ce53cf455496363bce3762b81dd2 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn> (cherry picked from commit 3391a3c6ab4f6b33e2f6d74e858a7bad573695b1)
Diffstat (limited to 'qtip/collector')
-rw-r--r--qtip/collector/parser/grep.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/qtip/collector/parser/grep.py b/qtip/collector/parser/grep.py
index 44edb5a1..d3a8210a 100644
--- a/qtip/collector/parser/grep.py
+++ b/qtip/collector/parser/grep.py
@@ -49,8 +49,6 @@ def _parse_logfile(config, paths):
'{0}/{1}'.format(paths, regex_rules_by_file[GrepProp.FILENAME])
for regex in regex_rules_by_file['grep']:
matches = grep_in_file(filename, regex)
- for item in matches:
- print item.groupdict()
if len(matches) > 1:
temp_dict = defaultdict(list)
for item in [match.groupdict() for match in matches]: