Answer the question
In order to leave comments, you need to log in
Logback appender - how to define behavior before destruction?
Good evening comrades.
I have a class: public class DatabaseAppender extends AppenderBase
I need to make sure that code is 100% executed before an instance of this class is destroyed, something like close() for streams.
Maybe someone knows the options? Google hasn't helped yet.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question