From ac35b36db3c68a8f514b380a7239bac3d2d71206 Mon Sep 17 00:00:00 2001 From: Andrew Rowley Date: Mon, 29 Jul 2024 15:56:11 +0100 Subject: [PATCH] Must be a string --- spinn_utilities/config_holder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spinn_utilities/config_holder.py b/spinn_utilities/config_holder.py index 412fbca8..b1d39dbf 100644 --- a/spinn_utilities/config_holder.py +++ b/spinn_utilities/config_holder.py @@ -95,7 +95,7 @@ def logging_parser(config: CamelCaseConfigParser): try: if (has_config_option("Logging", "instantiate") and get_config_bool("Logging", "instantiate")): - level = logging.INFO + level = "INFO" if has_config_option("Logging", "default"): level = get_config_str("Logging", "default").upper() logging.basicConfig(level=level)