Re: [D] Next Log4cxx Major release thoughts [logging-log4c xx]

swebb2066 (via GitHub) <[email protected]> Fri, 06 Mar 2026 23:52:28 -0000
Newsgroups gmane.comp.jakarta.log4j.devel
Message-ID <ghd-D_kwDOBToI6s4AhRe1-2f453944-8f4e-4a95-b1c7-adcd585c69d5__37336.9785769441$1772841159$gmane$org@gitbox.apache.org>
GitHub user swebb2066 added a comment to the discussion: Next Log4cxx Major release thoughts

While working on #601 I observed that Log4cxx currently breaks [the guideline to not call virtual functions in a destructor](https://codeql.github.com/codeql-query-help/cpp/cpp-virtual-call-in-constructor/). 

Derived appender destructors currently call [AppenderSkeleton::finalize](https://logging.apache.org/log4cxx/1.6.1/classlog4cxx_1_1AppenderSkeleton.html#af6d1ab262b89bbea3a1e90b571dd844f), which calls `close` in the derived Appender.

Should this be changed?



GitHub link: https://github.com/apache/logging-log4cxx/discussions/519#discussioncomment-16028913

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]