From: Remi Gacogne Date: Tue, 21 Nov 2023 16:18:09 +0000 (+0100) Subject: dnsdist: Capitalize the priority value in log messages X-Git-Tag: rec-5.0.0-rc1~20^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f7625f60e12602a365ecad796b69035be5148c39;p=thirdparty%2Fpdns.git dnsdist: Capitalize the priority value in log messages --- diff --git a/pdns/dolog.hh b/pdns/dolog.hh index 17af3a07b8..25c49521b7 100644 --- a/pdns/dolog.hh +++ b/pdns/dolog.hh @@ -178,14 +178,14 @@ namespace inline const char* syslogLevelToStr(int level) { static constexpr std::array levelStrs{ - "emergency", - "alert", - "critical", - "error", - "warning", - "notice", - "info", - "debug"}; + "Emergency", + "Alert", + "Critical", + "Error", + "Warning", + "Notice", + "Info", + "Debug"}; return levelStrs.at(level); } }