[ 
https://issues.apache.org/jira/browse/MINIFICPP-2165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gábor Gyimesi updated MINIFICPP-2165:
-------------------------------------
    Description: 
The default maximum log entry length is 1024 which is defined in the 
LOG_BUFFER_SIZE variable in the Logger.h header. Any log entries larger than 
1024 bytes are stripped.

We should make the log entry length configurable to allow longer logs than 1024 
to be fully visible in case a larger trace log entries (like a C2 manifest or 
an AWS request) are logged. This should be a property to be set globally but it 
would be great if it could also be set for individual classes as well (like the 
log levels in the log properties). We should check if any similar property is 
available in spdlog first.

  was:The default maximum log entry length is a 1024 which is defined in the 
LOG_BUFFER_SIZE variable in the Logger.h header. Any log entries larger than 
1024 bytes are stripped. We should make the log entry length configurable to 
allow longer logs than 1024 to be fully visible in case a larger trace log 
(like a C2 manifest or an AWS request are logged). This should be a minifi 
property to be set globally but it would be great to be allowed to be set for 
individual classes as well (like the log levels in the log properties). We 
should check if any similar property is available in spdlog first.


> Make maximum log entry length configurable
> ------------------------------------------
>
>                 Key: MINIFICPP-2165
>                 URL: https://issues.apache.org/jira/browse/MINIFICPP-2165
>             Project: Apache NiFi MiNiFi C++
>          Issue Type: Improvement
>            Reporter: Gábor Gyimesi
>            Priority: Major
>
> The default maximum log entry length is 1024 which is defined in the 
> LOG_BUFFER_SIZE variable in the Logger.h header. Any log entries larger than 
> 1024 bytes are stripped.
> We should make the log entry length configurable to allow longer logs than 
> 1024 to be fully visible in case a larger trace log entries (like a C2 
> manifest or an AWS request) are logged. This should be a property to be set 
> globally but it would be great if it could also be set for individual classes 
> as well (like the log levels in the log properties). We should check if any 
> similar property is available in spdlog first.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to