Skip to content

structlog levels don't respect python logging levels #76

@MSeal

Description

@MSeal

Describe the bug
By default our structlogs are printing debug messages, which are quite noisy. The standard pattern of setting log levels using the logging library isn't being respected, thus it's hard to know how to tune the second config of logging present.

To Reproduce
Steps to reproduce the behavior:

  1. Run any notebook
  2. See debug logs
  3. Change logging level
  4. Still see debug logs
  5. Change structlog levels
  6. See debugs go away

Expected behavior
The papermill cli and logging library levels should be the defaults when starting struct logs. We may need to scan log levels and pass them along when we initialize structlog.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions