Skip to content

A general purpose http request logging middleware for Django

Notifications You must be signed in to change notification settings

parekhsandip/requests_logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Requests Logger

A general purpose http request logging middleware for Django

Steps to install

  1. Add the requests_logger.py into any of your existing app or create a new one.
  2. Add a new entry into MIDDLEWARE_CLASSES section of settings.py

How it works

It captures all http requests and outputs on console. It dumps captured requests into a text file after each 1000 requests.

Why use it

I buit this primarily because we are using waitress web server and I needed a simple solution to log http requests.

About

A general purpose http request logging middleware for Django

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages