You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuweni.apache.org by GitBox <gi...@apache.org> on 2022/02/22 17:57:59 UTC
[GitHub] [incubator-tuweni] fab-10 opened a new issue #370: Improve DNSResolver log
fab-10 opened a new issue #370:
URL: https://github.com/apache/incubator-tuweni/issues/370
We are using Tuweni in [Besu](https://github.com/hyperledger/besu/), and some users find the following log line misleading
```
2022-02-22 16:44:04.285+00:00 | Timer-0 | INFO | DNSResolver | Resolved 0 nodes
```
since they think that something went wrong with the DNS resolver, while everything is fine, since what is actually happening, is that there are no new nodes to resolve, since the sequence is not increased, looking at the debug log:
```
{"timestamp":"2022-02-22T17:47:29,325","level":"DEBUG","thread":"Timer-0","class":"DNSResolver","message":"ENR tree root seq enrtree-root:v1 e=ZPZNBATGXWZOFW33QLGJWTVHM4 l=FDXN3SN67NA5DKA4J2GOK7BVQI seq=2941 sig=6URRq9MWZL_q9W2zasLUPL21Lw7ND5LAjR-X9pEpLVtkURllhjbRAmdTNDHo20t1bOfAgf2V88Kj4xHGEjBeTAE=.seq is not higher than 2941, aborting","throwable":""}
```
A proposal to improve this log is to not log when `nodes` is empty, or when the sequence is not increased.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@tuweni.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tuweni.apache.org
For additional commands, e-mail: dev-help@tuweni.apache.org
[GitHub] [incubator-tuweni] atoulme commented on issue #370: Improve DNSResolver log
Posted by GitBox <gi...@apache.org>.
atoulme commented on issue #370:
URL: https://github.com/apache/incubator-tuweni/issues/370#issuecomment-1048308298
Sounds good - please send a patch.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@tuweni.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tuweni.apache.org
For additional commands, e-mail: dev-help@tuweni.apache.org
[GitHub] [incubator-tuweni] atoulme closed issue #370: Improve DNSResolver log
Posted by GitBox <gi...@apache.org>.
atoulme closed issue #370:
URL: https://github.com/apache/incubator-tuweni/issues/370
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@tuweni.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tuweni.apache.org
For additional commands, e-mail: dev-help@tuweni.apache.org