1
0
Fork 0

use standard names for logging

This commit is contained in:
Kevin Matz 2018-10-28 18:27:25 -04:00
parent 006229f0e0
commit af2bd818da
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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