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?
When I add something like this to my
/etc/hostsfile (Ubuntu 22):71-2:0:4a,[127.0.0.1] myhostI get a warning:
[main] WARN org.xbill.DNS.hosts.HostsFileParser - Could not decode address 71-2:0:4a,127.0.0.1], /etc/hosts#L9I am not aware of any other library that emits a warning if it can't read the
/etc/hostsfile,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.propertiesor similar with my library.Could this WARNING be changed to INFO or DEBUG level?