Log inbound peer requests at debug
Logging at info was a bit too verbose. Also add a short log message.
This commit is contained in:
parent
24de90c900
commit
b1e1291f45
|
|
@ -54,7 +54,7 @@ impl StartCmd {
|
||||||
// The service that our node uses to respond to requests by peers
|
// The service that our node uses to respond to requests by peers
|
||||||
let node = Buffer::new(
|
let node = Buffer::new(
|
||||||
service_fn(|req| async move {
|
service_fn(|req| async move {
|
||||||
info!(?req);
|
debug!(?req, "inbound peer request");
|
||||||
Ok::<zebra_network::Response, Report>(zebra_network::Response::Nil)
|
Ok::<zebra_network::Response, Report>(zebra_network::Response::Nil)
|
||||||
}),
|
}),
|
||||||
1,
|
1,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue