Change eth trace from 'Message not expected' to 'Request message' (#6734)

* Change eth trace from 'Message not expected' to 'Request message'

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>

* Add braces to log message

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>

* Spotless fix

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>

---------

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
Signed-off-by: Matt Whitehead <matthew.whitehead@kaleido.io>
pull/7228/head
Matt Whitehead 5 months ago committed by GitHub
parent 19d2079377
commit 1ee35a3dea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/manager/EthPeer.java

@ -1,5 +1,5 @@
/*
* Copyright ConsenSys AG.
* Copyright contributors to Hyperledger Besu.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
@ -437,7 +437,7 @@ public class EthPeer implements Comparable<EthPeer> {
localRequestManager -> localRequestManager.dispatchResponse(ethMessage),
() -> {
LOG.trace(
"Message {} not expected has just been received for protocol {}, {} ",
"Request message {} has just been received for protocol {}, peer {} ",
messageCode,
protocolName,
this);

Loading…
Cancel
Save