FileAppender: if logging happens in a thread, queue never gets processed and, potentially, you run out of heap space

Description

This because of this in the logger:

Which makes sense most of the time, but if you only perform logging from within a thread, it never gets processed and the heap slowly fills up and cannot release (or quickly in the case of a lot of log events, especially errors).

Status

Assignee

Luis Majano

Reporter

Dominic Watson

Labels

None

Priority

Major
Configure