June 2019
Beginner to intermediate
770 pages
19h 24m
English
The default behavior of the logging module puts messages into the queue with the Queue.put_nowait() method. The advantage of this is that it allows the producers to run without the delays associated with logging. The disadvantage of this is that messages will get lost if the queue is too small to handle a very large burst of logging messages.
We have the following two choices to gracefully handle a burst of messages:
Read now
Unlock full access