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

   ## Description
   
   Using JSON layout and configuring line numbers, but not in the file, but the 
console can display.
   
   ## Configuration
   
   **Version:** 2.17.2
   
   **Operating system:** macOS Sonoma 14.6
   
   **JDK:** 8
   
   ## Logs
   
   - File
     <img width="1056" alt="image" 
src="https://github.com/user-attachments/assets/554896e1-0257-49bf-8979-be8cdd9defb7";>
   - Console
     <img width="627" alt="image" 
src="https://github.com/user-attachments/assets/61b25080-b20a-499a-a091-1b6607fba88d";>
   
     
   
   
   
   ## Reproduction
   The example project is as follows:
   
[no-line-number.zip](https://github.com/user-attachments/files/16633678/no-line-number.zip)


-- 
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