2

My cloud and local instance use the same file, my local host has telnet access to 30333 on the cloud instance, I've made sure to connect with the correct peerId, I can still see no peers form. How can I enable debug messages regards to peering ?

2
  • 1
    Set env RUST_LOG=trace to get a lot of messages (First thing to check is that you're getting network traffic in the standard output messages.)
    – Squirrel
    Apr 1, 2022 at 16:33
  • See for lots of ways you can filter for specific areas: docs.rs/env_logger/latest/env_logger
    – Squirrel
    Apr 1, 2022 at 16:34

1 Answer 1

3

Adding:

--log sub-libp2p=trace

Should let you see all the trace logs related specifically to libp2p and networking.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.