diff --git a/communication_subroutine.py b/communication_subroutine.py index 66a0068..0ae01db 100644 --- a/communication_subroutine.py +++ b/communication_subroutine.py @@ -146,7 +146,7 @@ def comm_subroutine(logger): the provided code snippet, the logger is used to log messages at the "info" level """ #logger.setLevel(logging.DEBUG) - logging.getLogger("discord") + logger = logging.getLogger("discord") logger.info("Started") threads = [] #threads.append(threading.Thread(target=flask_debug, args=(logger,)))