Skip to content

Commit

Permalink
Update logging to not change root logger
Browse files Browse the repository at this point in the history
Signed-off-by: Ayush Dattagupta <ayushdg95@gmail.com>
  • Loading branch information
ayushdg committed Apr 23, 2024
1 parent 5bad027 commit 7bc1536
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions nemo_curator/utils/import_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@

from nemo_curator.utils.gpu_utils import GPU_INSTALL_STRING

logging.basicConfig(level=logging.INFO)
logger = logging.getLogger("import_logger")
logger = logging.getLogger(__name__)
logger.setLevel(logging.INFO)
logger.addHandler(logging.StreamHandler())


class UnavailableError(Exception):
Expand Down

0 comments on commit 7bc1536

Please sign in to comment.