Skip to content
This repository was archived by the owner on Jan 24, 2024. It is now read-only.

Commit 3943d4e

Browse files
authored
Update analysis_kpis.py (#52)
* Update analysis_kpis.py * Update analysis_kpis.py * Update analysis_kpis.py * Update analysis_kpis.py
1 parent 5945dd6 commit 3943d4e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

analysis_kpis.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ def print_result(self):
4949
suc = True
5050
for kpi_name in self.analysis_result.keys():
5151
is_actived = self.kpis_status[kpi_name]
52-
log.warn('kpi: %s, actived: %s' % (kpi_name, is_actived))
52+
log.info('kpi: %s, actived: %s' % (kpi_name, is_actived))
5353
if is_actived:
5454
if self.analysis_result[kpi_name]['change_rate'] > self.diff_thre:
5555
suc = False
56-
print("kpi: %s change_tate too bigger !!!!!!!!!!" % kpi_name)
57-
print('min:%s max:%s mean:%s median:%s std:%s change_rate:%s' %
56+
log.warn("NOTE kpi: %s change_rate too bigger!" % kpi_name)
57+
log.info('min:%s max:%s mean:%s median:%s std:%s change_rate:%s' %
5858
(self.analysis_result[kpi_name]['min'],
5959
self.analysis_result[kpi_name]['max'],
6060
self.analysis_result[kpi_name]['mean'],

0 commit comments

Comments
 (0)