Skip to content

docs: python log example should set levels at root logger, so that no logs are filter out #3920

@tczhao

Description

@tczhao

Python root logger has default level warning.
With the current example, info and debug log will get filtered out

we should have additional line such as logging.getLogger().setLevel(logging.NOTSET), so that all logs are processed

logging.getLogger().addHandler(handler)

Metadata

Metadata

Labels

bugSomething isn't workingdocDocumentation-relatedlogging

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions