Hello,

I'm trying to use the proposed approach for the nested appenders removing
from SiftingAppender as:
-----------------------------
    // will cause the nested appender reach end-of-life. It will
    // linger for a few seconds.
    logger.info(FINALIZE_SESSION_MARKER, "About to end the job");
-----------------------------

But I'm not sure how to get the proper logger level to use in the above
example.
For example in case of log level set to ERROR in logback settings xml file,
the logger.info(FINALIZE_SESSION_MARKER) does not do the job.

I did not find any easy way to be sure to call a logger with
FINALIZE_SESSION_MARKER except using logger.error() which does not look
good.

Could you please help me to find if I'm missing something?

Thanks,
Pavel

-- 
In compliance with the set out of Organic Law 15/1999 December 13, 
Protection of Personal Data and REGULATION (EU) 2016/679 OF THE EUROPEAN 
PARLIAMENT AND OF THE COUNCIL April 27, 2016, we inform you that contact 
details used for this communication will be included in a file owned by 
INFOVERITY SL in order to facilitate communications through email with the 
various contacts that it maintains in the exercise of its activity. 
However, you may exercise your rights to access, rectification, 
cancellation and opposition as well as the other rights contained in the 
aforementioned regulation, for which you must contact INFOVERITY SL, Avda. 
Cortes Valencianas, 58 - 803 (46015 Valencia, Spain) enclosing a copy of 
your ID or by email to [email protected] <mailto:[email protected]>. No 
data will be transferred to third parties, except legal obligation. The 
data will be destroyed once you communicate your withdrawal and / or after 
the legal preservation periods have ended. By operation of the law 34/2002 
11 July of Services of the Information Society and Electronic Mail 
(LSSI-CE), this message and its attachments may contain confidential 
information, so you are informed that any unauthorized use is prohibited by 
law. If you have received this message by mistake, please notify us 
immediately through this same route and delete the original message along 
with its attached files without reading it or recording it totally or 
partially.  
_______________________________________________
logback-user mailing list
[email protected]
https://mailman.qos.ch/cgi-bin/mailman/listinfo/logback-user

Reply via email to