Skip to content

Commit 843e143

Browse files
committed
dropped logging.basicConfig from all modules as it conflicts with logging.basicConfig called by users of this library
1 parent 72d7929 commit 843e143

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

mltu/dataProvider.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
from .transformers import Transformer
1010

1111
import logging
12-
logging.basicConfig(format="%(asctime)s %(levelname)s %(name)s: %(message)s")
1312

1413

1514
class DataProvider:

mltu/preprocessors.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
from . import Image
1111

12-
logging.basicConfig(format="%(asctime)s %(levelname)s %(name)s: %(message)s")
1312
matplotlib.interactive(False)
1413

1514

mltu/transformers.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
from . import Image
66

77
import logging
8-
logging.basicConfig(format="%(asctime)s %(levelname)s %(name)s: %(message)s")
9-
logger = logging.getLogger(__name__)
10-
logger.setLevel(logging.INFO)
118

129

1310
class Transformer:

0 commit comments

Comments
 (0)