dont disable existing loggers when dvc is set up (#3345)

* dont disable existing loggers when dvc is set up

* corrected code style

* dont disable existing loggers, fixes

Co-authored-by: Guro Bokum <[email protected]>
This commit is contained in:
ttekampe
2020-02-27 07:02:06 +02:00
committed by GitHub
co-authored by Guro Bokum
parent d8778e7ca9
commit de453ab06d
3 changed files with 12 additions and 20 deletions
+2 -3
View File
@@ -45,12 +45,12 @@ from global repo template to creating everything inplace, which:
import os
import pathlib
import logging
from contextlib import contextmanager
import pytest
from funcy import lmap, retry
from dvc.logger import disable_other_loggers
from dvc.utils.fs import makedirs
from dvc.compat import fspath, fspath_py35
@@ -67,8 +67,7 @@ __all__ = [
# see https://github.com/iterative/dvc/issues/3167
git_logger = logging.getLogger("git")
git_logger.setLevel(logging.CRITICAL)
disable_other_loggers()
class TmpDir(pathlib.Path):