Skip to content

Commit aa9acca

Browse files
committed
consistent name
1 parent 0cd08b5 commit aa9acca

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pytorch_lightning/__init__.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Root package info."""
22

3-
import logging as python_logging
3+
import logging
44
import os
55
import sys
66
import time
@@ -38,13 +38,13 @@
3838
- https://pytorch-lightning.readthedocs.io/en/latest
3939
- https://pytorch-lightning.readthedocs.io/en/stable
4040
"""
41-
_root_logger = python_logging.getLogger()
42-
_logger = python_logging.getLogger(__name__)
43-
_logger.setLevel(python_logging.INFO)
41+
_root_logger = logging.getLogger()
42+
_logger = logging.getLogger(__name__)
43+
_logger.setLevel(logging.INFO)
4444

4545
# if root logger has handlers, propagate messages up and let root logger process them
4646
if not _root_logger.hasHandlers():
47-
_logger.addHandler(python_logging.StreamHandler())
47+
_logger.addHandler(logging.StreamHandler())
4848
_logger.propagate = False
4949

5050

0 commit comments

Comments
 (0)