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

调试日志提供选项,只打印错误请求的日志 #493

Open
weakish opened this issue Sep 3, 2020 · 1 comment
Open

调试日志提供选项,只打印错误请求的日志 #493

weakish opened this issue Sep 3, 2020 · 1 comment
Labels
enhancement next breaking changes

Comments

@weakish
Copy link
Contributor

weakish commented Sep 3, 2020

目前 Node.js SDK 有这样的功能:

env DEBUG=leancloud:request:error lean up
@weakish
Copy link
Contributor Author

weakish commented Oct 20, 2020

直接指定 logging.basicConfig(level=logging.ERROR) 并不能工作(非 200 请求比如 404 仍然被打印到 DEBUG 级别)

@weakish weakish added the next breaking changes label Oct 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement next breaking changes
Projects
None yet
Development

No branches or pull requests

1 participant