In debug mode the following messages are being printed twice at my console:
Starting to drain 1 logs to Logz.io
Successfully sent bulk of 1 logs to Logz.io!
each time the logs are being sent to logzio.
looks like get_logger function needs to have a check whether the handler(logging.StreamHandler(sys.stdout)) exists previously or not.
In debug mode the following messages are being printed twice at my console:
Starting to drain 1 logs to Logz.io
Successfully sent bulk of 1 logs to Logz.io!
each time the logs are being sent to logzio.
looks like get_logger function needs to have a check whether the handler(logging.StreamHandler(sys.stdout)) exists previously or not.