How can I check if LOG4J file appender is closed?
Asked
Active
Viewed 547 times
1 Answers
0
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.

Jintian DENG
- 3,152
- 20
- 22
-
How can I do it using reflections? – kosta Mar 09 '18 at 02:56