Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to specify log level #230

Open
JaZo opened this issue Jun 11, 2021 · 0 comments
Open

Add option to specify log level #230

JaZo opened this issue Jun 11, 2021 · 0 comments

Comments

@JaZo
Copy link
Contributor

JaZo commented Jun 11, 2021

We use an API that has a lot of attributes and we haven't added all those to the model. This results in a spammed console with warnings such as "Resource response for type "calendar_item" contains attribute "expiration_date", but it is not present on model config and therefore not deserialized.". As such, we have disabled the logger. But the downside of disabling the logger is that errors aren't logged either. This made us overlook the issue I described in #228. Currently you can only enable/disable the logger, but it would be nice if you can specify the log level so you can hide the aforementioned warnings, but keep the errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant