This is an automated email from the ASF dual-hosted git repository.

szaszm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git

commit 32ca36ddf2a0bdba885653a0e428201482a1b0a4
Author: Gabor Gyimesi <[email protected]>
AuthorDate: Tue Jul 16 16:01:47 2024 +0000

    MINIFICPP-2424 Increase default maximum log entry size
    
    Closes #1836
    
    Signed-off-by: Marton Szasz <[email protected]>
---
 CONFIGURE.md                            | 2 +-
 libminifi/include/core/logging/Logger.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/CONFIGURE.md b/CONFIGURE.md
index 36736e150..9f93c8a44 100644
--- a/CONFIGURE.md
+++ b/CONFIGURE.md
@@ -840,7 +840,7 @@ There are some additional properties that can be used to 
shorten log messages:
     logger.include.uuid=false
 
     # You can set the maximum length of the log entries
-    max.log.entry.length=1024
+    max.log.entry.length=4096
 
 **NOTE:** All log configuration properties can be changed through C2 protocol 
with the property update command, using the `nifi.log.` prefix. For example to 
change the root log level with the `logger.root` property through C2, the C2 
property update command should change the `nifi.log.logger.root` property.
 
diff --git a/libminifi/include/core/logging/Logger.h 
b/libminifi/include/core/logging/Logger.h
index 4a011021f..d3ddac807 100644
--- a/libminifi/include/core/logging/Logger.h
+++ b/libminifi/include/core/logging/Logger.h
@@ -38,7 +38,7 @@
 
 namespace org::apache::nifi::minifi::core::logging {
 
-inline constexpr size_t LOG_BUFFER_SIZE = 1024;
+inline constexpr size_t LOG_BUFFER_SIZE = 4096;
 
 class LoggerControl {
  public:

Reply via email to