diff --git a/annotation-queue/annotation_queue_handler.py b/annotation-queue/annotation_queue_handler.py index ef2a8fe..248dd39 100644 --- a/annotation-queue/annotation_queue_handler.py +++ b/annotation-queue/annotation_queue_handler.py @@ -1,5 +1,7 @@ import os import shutil +import sys + import yaml import asyncio from rstream import Consumer, AMQPMessage, ConsumerOffsetSpecification, OffsetType, MessageContext @@ -24,6 +26,7 @@ handler = TimedRotatingFileHandler( formatter = logging.Formatter('%(asctime)s|%(message)s', "%H:%M:%S") handler.setFormatter(formatter) logger.addHandler(handler) +logger.addHandler(logging.StreamHandler(sys.stdout)) class AnnotationQueueHandler: