Skip to content

Commit 7e27daa

Browse files
committed
fix: broken logger configuration introduced in 1.0.0
1 parent f35d245 commit 7e27daa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readme_coverage_badger/__main__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
logging.CRITICAL: Fore.RED + Back.WHITE,
4040
}
4141

42-
logger = logging.getLogger(__name__)
42+
logger = logging.getLogger()
4343
logger.setLevel(logging.DEBUG)
4444

4545

@@ -80,7 +80,7 @@ def write(self, *args, **kwargs):
8080

8181
def configure_logging():
8282
"""Logging configuration for the project"""
83-
handler = logging.StreamHandler()
83+
handler = logging.StreamHandler(sys.stdout)
8484
handler.setLevel(logging.DEBUG)
8585

8686
# we want to display levelname, asctime and message

0 commit comments

Comments
 (0)