Commit f7c06d8f authored by Mik Vyatskov's avatar Mik Vyatskov Committed by Facebook GitHub Bot
Browse files

Set the default logging level to info

Summary:
Pull Request resolved: https://github.com/facebookresearch/d2go/pull/521

Further along the setup, D2Go loggers will have logging level set to debug. Setting logging level as debug for every process introduces unnecessary logs.

Reviewed By: miqueljubert

Differential Revision: D44561105

fbshipit-source-id: 536f75bb886aec644207933e9baeb91a862a7ca7
parent d1d835a1
...@@ -38,7 +38,7 @@ from mobile_cv.common.misc.py import FolderLock, MultiprocessingPdb, post_mortem ...@@ -38,7 +38,7 @@ from mobile_cv.common.misc.py import FolderLock, MultiprocessingPdb, post_mortem
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
def setup_root_logger(logging_level: int = logging.DEBUG) -> None: def setup_root_logger(logging_level: int = logging.INFO) -> None:
""" """
Sets up the D2Go root logger. When a new logger is created, it lies in a tree. Sets up the D2Go root logger. When a new logger is created, it lies in a tree.
If the logger being used does not have a specific level being specified, it If the logger being used does not have a specific level being specified, it
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment