diff --git a/src/cutecoin/core/config.py b/src/cutecoin/core/config.py index d05225baad61fc31a0cbc2e59e77ef4289c8cb95..bd3446891e380eb8bb3fc0644f47bfd8771a1b3c 100644 --- a/src/cutecoin/core/config.py +++ b/src/cutecoin/core/config.py @@ -42,7 +42,7 @@ def parse_arguments(argv): (options, args) = parser.parse_args(argv) if options.debug: - logging.basicConfig(format='%(levelname)s:%(module)s:%(message)s', + logging.basicConfig(format='%(levelname)s:%(module)s:%(funcName)s:%(message)s', level=logging.DEBUG) elif options.verbose: logging.basicConfig(format='%(levelname)s:%(message)s', diff --git a/src/cutecoin/core/net/node.py b/src/cutecoin/core/net/node.py index ec270c2527ae99f22d2ec146e9847d3921628ec8..c1b001ed377f87e304663357fab672ce9e6118ef 100644 --- a/src/cutecoin/core/net/node.py +++ b/src/cutecoin/core/net/node.py @@ -286,7 +286,6 @@ class Node(QObject): """ Refresh the blocks of this node """ - logging.debug("Refresh block") conn_handler = self.endpoint.conn_handler() logging.debug("Requesting {0}".format(conn_handler)) @@ -318,7 +317,6 @@ class Node(QObject): """ Refresh basic information (pubkey and currency) """ - logging.debug("Refresh info") conn_handler = self.endpoint.conn_handler() try: @@ -356,7 +354,6 @@ class Node(QObject): """ Refresh the summary of this node """ - logging.debug("Refresh summary") conn_handler = self.endpoint.conn_handler() try: @@ -384,7 +381,6 @@ class Node(QObject): """ Refresh the node UID """ - logging.debug("Refresh uid") conn_handler = self.endpoint.conn_handler() try: data = yield from bma.wot.Lookup(conn_handler, self.pubkey).get() @@ -420,7 +416,6 @@ class Node(QObject): """ Refresh the list of peers knew by this node """ - logging.debug("Refresh peers") conn_handler = self.endpoint.conn_handler() try: