Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MINIFICPP-2424 Increase default maximum log entry size #1836

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONFIGURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,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.

Expand Down
2 changes: 1 addition & 1 deletion libminifi/include/core/logging/Logger.h
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down