Skip to content

DNS failure logs to be logged on info level instead of debug level #39142

Open
@kishor7007

Description

@kishor7007

Title: DNS failure logs to be logged as info instead of debug

Description:

On strict dns / logical dns resolutions if there are errors on the DNS resolution, the failure logs are getting written only when debug log level enabled. To easily identify the DNS failure logs, it is beneficial to log them as info so that users can easily identify the failure logs without out need of debug log level enablement.

Sample Log:

2025-04-16T08:59:11.694103Z debug envoy dns external/envoy/source/extensions/network/dns_resolver/cares/dns_impl.cc:152 dns resolution for myapp.net failed with c-ares status 11 thread=19

[optional Relevant Links:]

Sample images given below

Image

Image

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/dnsarea/envoy_logquestionQuestions that are neither investigations, bugs, nor enhancements

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions