Skip to content

Commit

Permalink
fix duplicate log
Browse files Browse the repository at this point in the history
  • Loading branch information
qianyun210603 committed Oct 5, 2023
1 parent 97e882e commit ba40a97
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion qlib/data/storage/arctic_storage/feature.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@


class ArcticFeatureStorage(ArcticStorageMixin, FeatureStorage):

def _init_arctic_path(self):
arctic_store = self._get_arctic_store()
alias_lib = arctic_store.get_library("feature_alias")
Expand Down
1 change: 1 addition & 0 deletions qlib/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ def __init__(self, module_name):
def logger(self):
logger = logging.getLogger(self.module_name)
logger.setLevel(self.__level)
logger.propagate = False
return logger

def setLevel(self, level):
Expand Down

0 comments on commit ba40a97

Please sign in to comment.