From af2bd818da6bac43b883fef13fb5e71ce5232343 Mon Sep 17 00:00:00 2001 From: Kevin Matz Date: Sun, 28 Oct 2018 18:27:25 -0400 Subject: [PATCH] use standard names for logging --- OscCommentMacroListener.py | 2 +- comment.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/OscCommentMacroListener.py b/OscCommentMacroListener.py index 7af0897..b336f6c 100644 --- a/OscCommentMacroListener.py +++ b/OscCommentMacroListener.py @@ -21,7 +21,7 @@ from CommentMacroListener import CommentMacroListener from pythonosc import osc_message_builder from time import sleep -logger = logging.getLogger("CommentMacro") +logger = logging.getLogger('__main__') # https://raw.githubusercontent.com/jszheng/py3antlr4book/master/bin/pygrun diff --git a/comment.py b/comment.py index 0f4d650..2d68954 100755 --- a/comment.py +++ b/comment.py @@ -27,7 +27,7 @@ from pythonosc import udp_client # setup logging -logger = logging.getLogger("CommentMacro") +logger = logging.getLogger(__name__) logger.setLevel(logging.DEBUG) ch = logging.StreamHandler() # create console handler and ch.setLevel(logging.INFO) # set console log level to INFO