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-unsubscr...@tuweni.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tuweni.apache.org
For additional commands, e-mail: dev-h...@tuweni.apache.org

Reply via email to