RL4LMs icon indicating copy to clipboard operation
RL4LMs copied to clipboard

Changed from logging with the root logger

Open JulesGM opened this issue 1 year ago • 0 comments

Logging with the root logger, like logging.info, removes the possibility of controlling the log level of submodules separately. logging.getLogger(__name__) enables this (& is the recommended practice), by doing something like logging.getLogger("path.to.the.module").setLevel(logging.INFO) or imported.module.LOGGER.setLevel(logging.INFO) after the basicConfig call

JulesGM avatar Dec 20 '22 23:12 JulesGM