mirror of
https://github.com/asterisk/asterisk
synced 2026-08-07 10:32:13 -04:00
When the logger reaches it's threshold for messages, don't discard the WARNING or ERROR messages up to a certain amount. If THAT threshold reaches its maximum, start discarding the oldest non-WARNING/ERROR messages until we only have WARNING and ERROR messages left. Everything will be discarded after that until we have room again for more. Also added a test that limits the queue sizes and logs many messages to see the queues hitting their maximums and discarding the appropriate messages. Fixes: #1882 |
||
|---|---|---|
| .. | ||
| asterisk | ||
| solaris-compat | ||
| asterisk.h | ||
| jitterbuf.h | ||