Skip to content

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

Open

Description

@weakish

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

env DEBUG=leancloud:request:error lean up

Activity

  1. weakish commented on Oct 20, 2020

    @weakish
    ContributorAuthor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions