Skip to content

Better logging by kind #376

@JasonGross

Description

@JasonGross

After #375, following up on #374, we should:

  • move all logging over to being based on kind rather than verbosity level
  • instead of passing verbose_base, passing around a kind string suffix
  • have a dictionary of default verbosity levels for all the kinds, which is used to decide which kinds are logged by default when a given verbosity is set, so that current logging behavior remains unchanged
  • have a special dict of "does logging kind k1 include logging kind k2". "all" should be defaultdict(lambda: True), others should be defaultdict((lambda: None), ... stuff included). If a file is tagged with one of these kinds, any kind that is included in that kind should be logged to the file, unless explicitly disabled.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions