farakh-shahid opened a new pull request, #973:
URL: https://github.com/apache/age/pull/973

   [AGE VIEWER DESKTOP] Add date and timestamp to log output in logging 
middleware
   Previously, the logging middleware in the application was not including the 
date and timestamp in the log messages. This made it difficult to determine the 
exact time of each request and response in the logs.
   
   To improve the logging functionality, I made the following changes:
   - Updated the logrus formatter configuration to remove the 
`DisableTimestamp` field, allowing the date and timestamp to be included in the 
log output.
   - Modified the logging middleware to use the `Print` method of logrus 
instead of `Info` to ensure that the log messages are displayed in the console 
output.
   
   Now, when a request is received, the logging middleware logs the request 
details along with the date and timestamp. Similarly, it logs the response 
details with the corresponding status and the date and timestamp.
   
   This change enhances the logging capabilities of the application, providing 
more detailed information and facilitating debugging and monitoring.


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