You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by sw...@apache.org on 2026/09/27 01:30:18 UTC
(logging-log4cxx) branch master updated: Add entries to the change report (#767)
This is an automated email from the ASF dual-hosted git repository.
swebb2066 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4cxx.git
The following commit(s) were added to refs/heads/master by this push:
new e1cb7926 Add entries to the change report (#767)
e1cb7926 is described below
commit e1cb792669b761517658578b43c5465419206c9b
Author: Stephen Webb <st...@ieee.org>
AuthorDate: Sun Sep 27 11:30:12 2026 +1000
Add entries to the change report (#767)
---
src/main/cpp/charsetencoder.cpp | 6 ++--
src/main/cpp/smtpappender.cpp | 3 +-
src/main/include/log4cxx/appenderskeleton.h | 2 --
src/site/markdown/change-report-gh.md | 43 +++++++++++++++++++++++++++++
4 files changed, 47 insertions(+), 7 deletions(-)
diff --git a/src/main/cpp/charsetencoder.cpp b/src/main/cpp/charsetencoder.cpp
index 6f80b3b0..e3159294 100644
--- a/src/main/cpp/charsetencoder.cpp
+++ b/src/main/cpp/charsetencoder.cpp
@@ -35,8 +35,6 @@
#include <stdlib.h>
#endif
-#define LOG4CXX_16_VIRTUAL_SPECIFIER override
-
using namespace LOG4CXX_NS;
using namespace LOG4CXX_NS::helpers;
@@ -119,7 +117,7 @@ class APRCharsetEncoder : public CharsetEncoder
/**
* Add onto \c out an encoded equivalent of \c codePoint.
*/
- log4cxx_status_t encode(unsigned int codePoint, ByteBuffer& out) LOG4CXX_16_VIRTUAL_SPECIFIER
+ log4cxx_status_t encode(unsigned int codePoint, ByteBuffer& out) override
{
apr_status_t result = APR_SUCCESS;
if (codePoint <= 0x10FFFF && 4 <= out.remaining())
@@ -220,7 +218,7 @@ class WcstombsCharsetEncoder : public CharsetEncoder
/**
* Add onto \c out an encoded equivalent of \c codePoint.
*/
- log4cxx_status_t encode(unsigned int codePoint, ByteBuffer& out) LOG4CXX_16_VIRTUAL_SPECIFIER
+ log4cxx_status_t encode(unsigned int codePoint, ByteBuffer& out) override
{
apr_status_t result = APR_SUCCESS;
if (codePoint <= 0x10FFFF && MB_LEN_MAX <= out.remaining())
diff --git a/src/main/cpp/smtpappender.cpp b/src/main/cpp/smtpappender.cpp
index bc6350e8..15047ba7 100644
--- a/src/main/cpp/smtpappender.cpp
+++ b/src/main/cpp/smtpappender.cpp
@@ -867,7 +867,8 @@ bool SMTPAppender::checkEntryConditions()
if ((_priv->to.empty() && _priv->cc.empty() && _priv->bcc.empty()) || _priv->from.empty() || _priv->smtpHost.empty())
{
- _priv->errorHandler->error(LOG4CXX_STR("Message not configured."));
+ _priv->errorHandler->error(LOG4CXX_STR("Required SMTP properties missing for appender [") +
+ _priv->name + LOG4CXX_STR("]."));
return false;
}
diff --git a/src/main/include/log4cxx/appenderskeleton.h b/src/main/include/log4cxx/appenderskeleton.h
index f5f8f076..201b7cfb 100644
--- a/src/main/include/log4cxx/appenderskeleton.h
+++ b/src/main/include/log4cxx/appenderskeleton.h
@@ -78,8 +78,6 @@ class LOG4CXX_EXPORT AppenderSkeleton
\copybrief spi::OptionHandler::activateOptions()
No action is performed in this implementation.
-
- @deprecated The \c pool parameter is not required and will be removed in a future version.
*/
void activateOptions( ) override;
diff --git a/src/site/markdown/change-report-gh.md b/src/site/markdown/change-report-gh.md
index 3e8cc624..dc14c1e1 100644
--- a/src/site/markdown/change-report-gh.md
+++ b/src/site/markdown/change-report-gh.md
@@ -25,6 +25,7 @@ Change Log {#changelog}
| Version | Date | Description |
| ------------------- | ---------- | -------------------- |
+| [2.0.0](#rel_2_0_0) | 2026-XX-XX | ABI altering release |
| [1.8.0](#rel_1_8_0) | 2026-07-29 | Maintenance release |
| [1.7.0](#rel_1_7_0) | 2026-04-04 | Maintenance release |
| [1.6.1](#rel_1_6_1) | 2026-01-09 | Bugfix release |
@@ -54,6 +55,48 @@ Change Log {#changelog}
| [0.0.1](#rel_0_1) | 2003-05-31 | |
+## Release 2.0.0 - 2026-XX-XX {#rel_2_0_0}
+
+This major release includes the following alterations to the application binary interface (ABI).
+
+* The helpers::Pool parameter is not longer required in virtual functions.
+User-defined subclasses of Appender, Filter or Layout may require modification.
+
+* The helpers::Pool parameter has been removed from log4cxx::File member function argument lists.
+Code that uses log4cxx::File may require modification.
+
+* The 'LOG4CXX_CHAR=unichar' CMake option is no longer supported.
+Support remains for 'LOG4CXX_CHAR=wchar_t' for applications using std::wstring.
+
+Release 2.0.0 includes the following new features:
+
+* An incorrect configuration option name generates a warning in the Log4cxx internal debugging output
+ \[[#738](https://github.com/apache/logging-log4cxx/pull/738)\]
+
+* Improved SMTPAppender diagnostic messages in the Log4cxx internal debugging output
+ \[[#735](https://github.com/apache/logging-log4cxx/pull/735)\]
+
+* SMTP and Telnet appenders use secure-by-default configurations
+ \[[#734](https://github.com/apache/logging-log4cxx/pull/734)\]
+
+* The encoder returned by CharsetEncoder::getUTF8Encoder() inserts the Unicode replacement character (0xFFFD) to indicate an invalid codepoint
+ \[[#730](https://github.com/apache/logging-log4cxx/pull/730)\]
+
+The following issues have been addressed:
+
+* A performance regression with JSON & XML output
+ \[[#757](https://github.com/apache/logging-log4cxx/pull/757)\]
+
+* Using default configuration, BufferedIO and a watchdog caused recursive configuration
+ \[[#739](https://github.com/apache/logging-log4cxx/pull/739)\]
+
+* Using BufferedIO in multiple FileAppenders with the same name could cause a fault
+ \[[#733](https://github.com/apache/logging-log4cxx/pull/733)\]
+
+* A seg-fault when a user-defined class inherited from a non-abstract base class
+ * [#629](https://github.com/apache/logging-log4cxx/pull/629)
+ , [#637](https://github.com/apache/logging-log4cxx/pull/637)
+
## Release 1.8.0 - 2026-07-29 {#rel_1_8_0}
Release 1.8.0 includes the following new features: