문제

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