From f7625f60e12602a365ecad796b69035be5148c39 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Tue, 21 Nov 2023 17:18:09 +0100 Subject: [PATCH] dnsdist: Capitalize the priority value in log messages --- pdns/dolog.hh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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); } } -- 2.47.2