Skip to content
Snippets Groups Projects
Commit 7bfa7149 authored by E. Madison Bray's avatar E. Madison Bray
Browse files

[bug] minor bug in the base class logging setup

parent c830edbc
No related branches found
No related tags found
No related merge requests found
......@@ -60,7 +60,7 @@ class JSONRPCServerWebsocketClient(metaclass=abc.ABCMeta):
def __init__(self, websocket_uri, log=None):
self.websocket_uri = websocket_uri
if log is None:
self.log = logging.getLogger(self.NAME)
self.log = logging.getLogger(self.NAME or self.__class__.__name__)
else:
self.log = log
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment