Add support for NGINX VOD Module

This commit is contained in:
Jason Hunter
2021-05-18 01:52:08 -04:00
committed by Blake Blackshear
parent a4e6d9ed9a
commit aab6a00e4c
9 changed files with 142 additions and 25 deletions

View File

@@ -35,7 +35,7 @@ def log_process(log_queue):
while True:
try:
record = log_queue.get(timeout=5)
except queue.Empty:
except (queue.Empty, KeyboardInterrupt):
continue
logger = logging.getLogger(record.name)
logger.handle(record)