use standard names for logging
This commit is contained in:
parent
006229f0e0
commit
af2bd818da
|
@ -21,7 +21,7 @@ from CommentMacroListener import CommentMacroListener
|
||||||
from pythonosc import osc_message_builder
|
from pythonosc import osc_message_builder
|
||||||
from time import sleep
|
from time import sleep
|
||||||
|
|
||||||
logger = logging.getLogger("CommentMacro")
|
logger = logging.getLogger('__main__')
|
||||||
|
|
||||||
|
|
||||||
# https://raw.githubusercontent.com/jszheng/py3antlr4book/master/bin/pygrun
|
# https://raw.githubusercontent.com/jszheng/py3antlr4book/master/bin/pygrun
|
||||||
|
|
|
@ -27,7 +27,7 @@ from pythonosc import udp_client
|
||||||
|
|
||||||
|
|
||||||
# setup logging
|
# setup logging
|
||||||
logger = logging.getLogger("CommentMacro")
|
logger = logging.getLogger(__name__)
|
||||||
logger.setLevel(logging.DEBUG)
|
logger.setLevel(logging.DEBUG)
|
||||||
ch = logging.StreamHandler() # create console handler and
|
ch = logging.StreamHandler() # create console handler and
|
||||||
ch.setLevel(logging.INFO) # set console log level to INFO
|
ch.setLevel(logging.INFO) # set console log level to INFO
|
||||||
|
|
Loading…
Reference in New Issue