ppkarwasz opened a new pull request, #545:
URL: https://github.com/apache/tomcat/pull/545
This provides an alternative solution to the `LoggerThread` problems
described in #544.
It replaces `LoggerThread` with a single-threaded `ExecutorService` almost
identical to the one used by `FileHandler`. This improves `AsyncFileHandler` in
two aspects:
* the thread created by the executor service always uses Tomcat JULI's
classloader as TCCL, preventing a memory leak,
* if an `Error` kills the working thread, it is regenerated by the executor
service.
A test is provided to ensure that the previous overflow policies work as
documented.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]