veenaBOL opened a new issue, #4088:
URL: https://github.com/apache/logging-log4j2/issues/4088

   ## Description
   
   We are observing that log messages are getting truncated when logged using 
Log4j, particularly when using the following configuration:
   
   <PatternLayout pattern='%m%n'/>
   
   This impacts critical logs such as log.fatal(message, throwable) where the 
complete message or stack trace is not fully printed. This is particularly 
noticeable for fatal and error logs where the message size is significantly 
large.
   
   ## Configuration
   
   **Version:** 2.25.3
   
   **Operating system:** macOS 15.6
   
   **JDK:** OpenJDK 17.0.12
   
   ## Reproduction
   
   1. Configure Log4j with:
   
   <PatternLayout pattern='%m%n'/>
   
   2. Log a message with a large string or exception:
   
   3. log.fatal("Large message...", throwable);
   Check the output logs.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to