Browse Source

Reduce log spam by logging heartbeats at trace level

This is a periodic message, no need to spam the logs.
new-http-api
Mariusz Klochowicz 3 years ago
parent
commit
31168e1cd0
No known key found for this signature in database GPG Key ID: 470C865699C8D4D
  1. 2
      daemon/src/connection.rs

2
daemon/src/connection.rs

@ -138,7 +138,7 @@ impl Actor {
match msg {
wire::MakerToTaker::Heartbeat => {
tracing::info!("got the heartbeat");
tracing::trace!("received a heartbeat message from maker");
self.connected_state
.as_mut()
.expect("wire messages only to arrive in connected state")

Loading…
Cancel
Save