Comments (5)
Oh, I see. You means that It need to limit for only log data. I will consider. Thank you for feedback.
from axios-logger.
Great idea. But I think It can be controlled by axios maxContentLength property. This part looks good to delegate to axios.
from axios-logger.
The problem is that an application might need the entire response. For my use case I expect to receive multiple kilobytes of text data and it all has to be processed, meaning I need Axios to properly treat the response (ruling out maxContentLength
). However, this fills up the logs with lots of clutter from the logging. Being able to only the log the first 100 characters or so would allow logging to be used with large responses.
from axios-logger.
👍 this would be very helpful
from axios-logger.
from axios-logger.
Related Issues (20)
- baseUrl behavior does not correct HOT 2
- data is stringified even though data is set to false HOT 2
- Release Plan 2.6.1 HOT 1
- 同学,您这个项目引入了556个开源组件,存在6个漏洞,辛苦升级一下 HOT 1
- Axios response intercept not working HOT 1
- Converting circular structure to JSON error with ts-node upgrade HOT 3
- Why should we bind this to a custom logger? it should be the logger object itself right?
- Support axios >= 1.3.0 HOT 13
- URLSearchParams not shown in log HOT 1
- Update library version 3.0.0
- TypeScript complains about .use(AxiosLogger.requestLogger) HOT 14
- Update Jest Version HOT 2
- Support Dual Package HOT 2
- `combineURLs` fails when `baseURL` is a relative path HOT 1
- Option to remove colors HOT 2
- How to log error request body? HOT 2
- `combineURLs` produces wrong absolute URL when `baseURL` has `path` part HOT 3
- V2.8.0 Introduces incompatibilities with web and react native HOT 5
- Axios baseURL is ignored HOT 1
- Release 2.6.0 HOT 1
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 axios-logger.