MAX_QUEUED_LOGS
Description
To achieve better performance, DogLog uses a separate thread for handling log operations.
Each time you call DogLog#log()
, the log is added to a queue to be processed by the log thread.
If too many logs are added to the queue before they can be processed, the queue becomes full and logs can’t be added.
Solution
To avoid this error, you can try the following:
- Reduce the number of logs being added to the queue, especially in short bursts
- Increase the queue capacity in the configured DogLog options