I've added a logging system to the KademliaProtocol class. I didn't change it everywhere. Let's first see if it's handy.
It's not easy to use object-base attributes as prefixes in the logging system (i.e., a node id). Thus, I create a separate logger for each node and set it's name to node's id.
I've added a logging system to the KademliaProtocol class. I didn't change it everywhere. Let's first see if it's handy.
It's not easy to use object-base attributes as prefixes in the logging system (i.e., a node id). Thus, I create a separate logger for each node and set it's name to node's id.