make sure log level is upper (#2934)

This commit is contained in:
Wing Lian
2025-07-17 15:32:55 -04:00
committed by GitHub
parent 5f5ae76213
commit 170322a1f0

View File

@@ -113,7 +113,7 @@ DEFAULT_LOGGING_CONFIG: Dict[str, Any] = {
"loggers": {
"axolotl": {
"handlers": ["color_console"],
"level": os.getenv("AXOLOTL_LOG_LEVEL", DEFAULT_AXOLOTL_LOG_LEVEL),
"level": os.getenv("AXOLOTL_LOG_LEVEL", DEFAULT_AXOLOTL_LOG_LEVEL).upper(),
"propagate": False,
},
},