Comments (4)
Hi @laugrean
You can log only limited methods and status code.
DRF_API_LOGGER_METHODS = ['GET', 'POST', 'DELETE', 'PUT'] #
DRF_API_LOGGER_STATUS_CODES = ['200', '400', '404', '500'] #
Please let know if you face the issue again.
from drf-api-logger.
Thank you for your feedback.
Is there also a plan to add additional methods like 'PATCH' ?
from drf-api-logger.
It already supports all the methods.
from drf-api-logger.
Closing due to inactivity.
from drf-api-logger.
Related Issues (20)
- api field should be a TextField HOT 2
- DRF_API_LOGGER_EXCLUDE_KEYS HOT 2
- for the Number of API calls chart
- UUID field not serializable in middleware HOT 4
- DRF API LOGGER EXCEPTION: value too long for type character varying(512) HOT 2
- 404 error on non-root deployment HOT 1
- JUST APIs with response 200 are logged? HOT 3
- How add user_id for logging if user has authorization? HOT 4
- Unicode Escape problem HOT 2
- Enabling Sites Framework,
- Make table creation independent of DRF_API_LOGGER_DATABASE HOT 2
- Unable to destroy test db after using this library. HOT 8
- request twice when method not in DRF_API_LOGGER_METHODS
- Deprecation warning HOT 1
- how to collectstatic in an offline environment HOT 1
- Follow README but log nothing HOT 5
- Body not logged HOT 2
- 500 not logged HOT 2
- User Details to Logs HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from drf-api-logger.