Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

network-devp2p: downgrade logging to debug, add target #8784

Merged
merged 3 commits into from
Jun 11, 2018

Conversation

5chdn
Copy link
Contributor

@5chdn 5chdn commented Jun 4, 2018

introduced in #8589

2018-06-04 14:54:40  Syncing  #446005 0x8b14…6ace  1155.88 blk/s 1329.4 tx/s   53 Mgas/s      0+ 3961 Qed   #449968   10/25 peers   5 MiB chain 79 MiB db 11 MiB queue 11 MiB sync  RPC:  0 conn,    0 req/s,    0 µs
2018-06-04 14:54:46  Received ping from self
2018-06-04 14:54:46  Received ping from self
2018-06-04 14:54:47  Received ping from self
2018-06-04 14:54:47  Received ping from self
2018-06-04 14:54:50  Syncing  #455116 0xd852…2449  911.56 blk/s 1311.4 tx/s   42 Mgas/s      0+ 4501 Qed   #459620   10/25 peers   4 MiB chain 79 MiB db 12 MiB queue 10 MiB sync  RPC:  0 conn,    0 req/s,    0 µs
2018-06-04 14:55:00  Syncing  #465128 0x39ab…cd18  992.86 blk/s 1520.7 tx/s   47 Mgas/s      0+ 2744 Qed   #467875   10/25 peers   5 MiB chain 79 MiB db 7 MiB queue 11 MiB sync  RPC:  0 conn,    0 req/s,    0 µs

@5chdn 5chdn added A0-pleasereview 🤓 Pull request needs code review. A2-insubstantial 👶 Pull request requires no code review (e.g., a sub-repository hash update). M4-core ⛓ Core client code / Rust. labels Jun 4, 2018
@5chdn 5chdn added this to the 1.12 milestone Jun 4, 2018
@5chdn 5chdn closed this Jun 4, 2018
@5chdn 5chdn reopened this Jun 4, 2018
@jimpo
Copy link
Contributor

jimpo commented Jun 4, 2018

Hmm, is there ever a legitimate reason to ping self? We can downgrade logging level for now, but perhaps raise it back after further improvements to discovery (such as #8771).

@5chdn
Copy link
Contributor Author

5chdn commented Jun 5, 2018

@jimpo no there isn't; this is a bug. we discussed internally to downgrade the log level AND also fix that bug in a different PR :)

@rphmeier rphmeier removed the A0-pleasereview 🤓 Pull request needs code review. label Jun 8, 2018
@@ -358,19 +358,19 @@ impl Discovery {
Ok(Some(size)) if size == data.payload.len() => {
},
Ok(Some(_)) => {
warn!("UDP sent incomplete datagramm");
debug!(target: "discovery", "UDP sent incomplete datagramm");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/datagramm/datagram

Copy link
Collaborator

@niklasad1 niklasad1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good but it would be good if you can fix the typo in datagramm!

@5chdn 5chdn merged commit 10fc74e into master Jun 11, 2018
@5chdn 5chdn deleted the a5-network-logging branch June 11, 2018 08:03
dvdplm added a commit that referenced this pull request Jun 11, 2018
* master:
  Fix subcrate test compile (#8862)
  network-devp2p: downgrade logging to debug, add target (#8784)
  Clearing up a comment about the prefix for signing (#8828)
  Disable parallel verification and skip verifiying already imported txs. (#8834)
  devp2p: Move UDP socket handling from Discovery to Host. (#8790)
  Fixed AuthorityRound deadlock on shutdown, closes #8088 (#8803)
  Specify critical release flag per network (#8821)
  Fix `deadlock_detection` feature branch compilation (#8824)
  Use system allocator when profiling memory (#8831)
  added from and to to Receipt (#8756)
tavakyan referenced this pull request in C4Coin/c4coin-parity Jun 14, 2018
* network-devp2p: downgrade logging to debug, add target

* network-devp2p: rename s/datagramm/datagram
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A2-insubstantial 👶 Pull request requires no code review (e.g., a sub-repository hash update). M4-core ⛓ Core client code / Rust.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants