Skip to content

Commit 382a546

Browse files
committed
log: remove NullHandlers; clients must learn to config logging
1 parent 6317104 commit 382a546

File tree

5 files changed

+0
-5
lines changed

5 files changed

+0
-5
lines changed

Diff for: git/cmd.py

-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
'universal_newlines', 'shell'))
4949

5050
log = logging.getLogger(__name__)
51-
log.addHandler(logging.NullHandler())
5251

5352
__all__ = ('Git',)
5453

Diff for: git/config.py

-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434

3535

3636
log = logging.getLogger('git.config')
37-
log.addHandler(logging.NullHandler())
3837

3938

4039
class MetaParserBuilder(abc.ABCMeta):

Diff for: git/objects/commit.py

-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
import logging
3939

4040
log = logging.getLogger('git.objects.commit')
41-
log.addHandler(logging.NullHandler())
4241

4342
__all__ = ('Commit', )
4443

Diff for: git/objects/submodule/base.py

-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646

4747

4848
log = logging.getLogger('git.objects.submodule.base')
49-
log.addHandler(logging.NullHandler())
5049

5150

5251
class UpdateProgress(RemoteProgress):

Diff for: git/objects/submodule/root.py

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
__all__ = ["RootModule", "RootUpdateProgress"]
1414

1515
log = logging.getLogger('git.objects.submodule.root')
16-
log.addHandler(logging.NullHandler())
1716

1817

1918
class RootUpdateProgress(UpdateProgress):

0 commit comments

Comments
 (0)