Skip to content

Commit

Permalink
[FIX]es log (#377)
Browse files Browse the repository at this point in the history
  • Loading branch information
TelmaZzzz authored Oct 21, 2020
1 parent 97718ae commit 5c4669f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 60 deletions.
2 changes: 2 additions & 0 deletions fedlearner/common/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ def __init__(self, ip, port):
super(ElasticSearchHandler, self).__init__('elasticsearch')
self._es = Elasticsearch([ip], port=port)
self._tz = pytz.timezone('Asia/Shanghai')
es_logger = logging.getLogger('elasticsearch')
es_logger.setLevel(logging.WARNING)
# initialize index for elastic search
if self._es.indices.exists(index='metrics') is not True:
self._es.indices.create(index='metrics')
Expand Down
60 changes: 0 additions & 60 deletions web_console/utils/metrics_list.js

This file was deleted.

0 comments on commit 5c4669f

Please sign in to comment.