diff --git a/utils/general.py b/utils/general.py index 41f47785bd16..3d6da2fdb173 100755 --- a/utils/general.py +++ b/utils/general.py @@ -65,7 +65,7 @@ def set_logging(name=None, verbose=VERBOSE): return logging.getLogger(name) -LOGGER = set_logging(__name__) # define globally (used in train.py, val.py, detect.py, etc.) +LOGGER = set_logging('yolov5') # define globally (used in train.py, val.py, detect.py, etc.) class Profile(contextlib.ContextDecorator):