From: Remi Gacogne Date: Mon, 20 Jun 2022 13:12:20 +0000 (+0200) Subject: dnsdist: Log listening addresses and version at the 'info' level X-Git-Tag: auth-4.8.0-alpha0~52^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F11711%2Fhead;p=thirdparty%2Fpdns.git dnsdist: Log listening addresses and version at the 'info' level These are really informations, not warnings. --- diff --git a/pdns/dnsdist.cc b/pdns/dnsdist.cc index 8ea5f3c228..d10c0302f2 100644 --- a/pdns/dnsdist.cc +++ b/pdns/dnsdist.cc @@ -2129,16 +2129,16 @@ static void setUpLocalBind(std::unique_ptr& cs) SListen(cs->tcpFD, cs->tcpListenQueueSize); if (cs->tlsFrontend != nullptr) { - warnlog("Listening on %s for TLS", cs->local.toStringWithPort()); + infolog("Listening on %s for TLS", cs->local.toStringWithPort()); } else if (cs->dohFrontend != nullptr) { - warnlog("Listening on %s for DoH", cs->local.toStringWithPort()); + infolog("Listening on %s for DoH", cs->local.toStringWithPort()); } else if (cs->dnscryptCtx != nullptr) { - warnlog("Listening on %s for DNSCrypt", cs->local.toStringWithPort()); + infolog("Listening on %s for DNSCrypt", cs->local.toStringWithPort()); } else { - warnlog("Listening on %s", cs->local.toStringWithPort()); + infolog("Listening on %s", cs->local.toStringWithPort()); } } @@ -2535,7 +2535,7 @@ int main(int argc, char** argv) } } - warnlog("dnsdist %s comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it according to the terms of the GPL version 2", VERSION); + infolog("dnsdist %s comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it according to the terms of the GPL version 2", VERSION); vector vec; std::string acls;