diff options
Diffstat (limited to 'framework/printers/Printers.cpp')
-rw-r--r-- | framework/printers/Printers.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/framework/printers/Printers.cpp b/framework/printers/Printers.cpp index 6b53a0c33d..9ca5e317b3 100644 --- a/framework/printers/Printers.cpp +++ b/framework/printers/Printers.cpp @@ -23,6 +23,8 @@ */ #include "Printers.h" +#include "framework/Utils.h" + #include <map> #include <stdexcept> @@ -43,7 +45,7 @@ LogFormat log_format_from_name(const std::string &name) try { - return formats.at(name); + return formats.at(tolower(name)); } catch(const std::out_of_range &) { |