Skip to content

Use Python logging best practices #56

@lukasschwab

Description

@lukasschwab

Motivation

A clear and concise description of what the problem is. For example, "I'm always frustrated when..."

  • Change how logging is exposed. Setting the logging level is difficult. There must be a standard Python pattern for this, e.g. using a named logger with a name other than __name__.
  • Change internal logging usage: logging upon error construction can be misleading, esp. when errors are nonterminal (i.e. resolved in retries). Unreliable results: pages from API are unexpectedly empty #43 (comment)

Solution

A clear and concise description of what you want to happen.

TODO

Metadata

Metadata

Assignees

Labels

enhancementRequests for new features or improvements.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions