Вопрос

How can I check if LOG4J file appender is closed?

Это было полезно?

Решение

You can check the property closed on the specific appender. Since closed is a protected field, you may need to set it visible before accessing using java reflection.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top