diff options
author | wu.zhihui <wu.zhihui1@zte.com.cn> | 2017-03-13 11:13:14 +0800 |
---|---|---|
committer | wu.zhihui <wu.zhihui1@zte.com.cn> | 2017-03-13 11:43:15 +0800 |
commit | 3391a3c6ab4f6b33e2f6d74e858a7bad573695b1 (patch) | |
tree | c7f28e9f8e8c48e6468bffba5e7896bc05f5e266 /qtip/collector/parser | |
parent | a5145885c7a43622f803534ed97890ef9acb852d (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>
Diffstat (limited to 'qtip/collector/parser')
-rw-r--r-- | qtip/collector/parser/grep.py | 2 |
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]: |