diff --git a/communication_subroutine.py b/communication_subroutine.py index ba9d91c..6f4b570 100644 --- a/communication_subroutine.py +++ b/communication_subroutine.py @@ -59,8 +59,8 @@ def comm_subroutine(logger): logger.setLevel(logging.DEBUG) logger.info("Started") threads = [] - threads.append(threading.Thread(target=flask_debug, args=(logger,))) - #threads.append(threading.Thread(target=waitress_run, args=(logger,))) + #threads.append(threading.Thread(target=flask_debug, args=(logger,))) + threads.append(threading.Thread(target=waitress_run, args=(logger,))) threads.append(threading.Thread(target=scan_queue,)) for worker in threads: @@ -69,4 +69,5 @@ def comm_subroutine(logger): worker.join() if __name__ == "__main__": - comm_subroutine() \ No newline at end of file + logging_client = logging.getLogger(__name__) + comm_subroutine(logging_client) \ No newline at end of file