Improve logging

This commit is contained in:
Dennis Schwerdel 2020-10-25 00:49:02 +02:00
parent 7cfc77a2d8
commit ab79ee58de
1 changed files with 2 additions and 1 deletions

View File

@ -718,7 +718,8 @@ impl<D: Device, P: Protocol, S: Socket, TS: TimeSource> GenericCloud<D, P, S, TS
Ok(res)
}
Err(err) => {
warn!("Error in init message from peer {}: {}", addr_nice(src), err);
debug!("Init error from {}: {}", src, err);
info!("Ignoring invalid init message from peer {}", addr_nice(src));
return Ok(())
}
}