8000 Change Warning to Info: "Could not decode address" ? · Issue #361 · dnsjava/dnsjava · GitHub
[go: up one dir, main page]

Skip to content
Change Warning to Info: "Could not decode address" ? #361
Closed
@tzaeschke

Description

@tzaeschke

When I add something like this to my /etc/hosts file (Ubuntu 22):

71-2:0:4a,[127.0.0.1] myhost

I get a warning:

[main] WARN org.xbill.DNS.hosts.HostsFileParser - Could not decode address 71-2:0:4a,127.0.0.1], /etc/hosts#L9

I am not aware of any other library that emits a warning if it can't read the /etc/hosts file,

I can of course configure slf4j to suppress the warning, but I am a library developer myself and I don´t think I should bundle a simplelogger.properties or similar with my library.

Could this WARNING be changed to INFO or DEBUG level?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0