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

   ## Description
   
   We have upgrade from log4j1.x to log4j2.18. 
   After this upgrade in our log file we are seeing few log statement are 
recoded with correct system time . But few are logging with epho default time 
i.e "1/1/1970" . To check more on in log4j2.xml file we changed the 
patternlayout to %d{UNIX_MILLIS} in this we are seeing few are printing 0 and 
few log statement with correct time in milliseconds from epoch.
   
   ## Configuration
   Please attachment.
   
   **Version:** 2.18.0
   
   **Operating system:** Linux ocsg001 4.14.35-2047.524.5.el7uek.x86_64 #2 SMP 
Wed Mar 29 15:42:02 PDT 2023 x86_64 x86_64 x86_64 GNU/Linux
   
   **JDK:** java version "1.8.0_311"
   Java(TM) SE Runtime Environment (build 1.8.0_311-b25)
   Java HotSpot(TM) 64-Bit Server VM (build 25.311-b25, mixed mode)
   
   ## Logs
   Please attachment
   ```
   [Stacktraces, errors, etc. relevant applications logs.]
   ```We have enable the debug flag while starting the server. Here is the 
log4j logs.
   
   [Uploading default.log…]()
   
[Log4j2.18DebugLogs.txt](https://github.com/apache/logging-log4j2/files/13839686/Log4j2.18DebugLogs.txt)
   
[log4j2config.txt](https://github.com/apache/logging-log4j2/files/13839690/log4j2config.txt)
   
   
   ## Reproduction
   
   [An isolated test reproducing the test.
   JUnit tests similar to the ones in the code base are extremely appreciated.]
   


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