Skip to content

jastisriradheshyam/express_request_logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Express request logger

Logs the request and response to MySQL database.

Features

  • Logs
    • Request hit time
    • URL
    • Headers
    • IP
    • HTTP Method
    • Request Body
    • Request total time to respond
    • Response body ( subject to send function usage )
    • Response initiate time
  • Async request and response logging
  • MySQL as database

Drawbacks

  • requires express and body-parser or similar package.
  • cannot store the response body of piped responses

Contributors