Skip to content

log: module=main setting overrides all others #2868

@ebuchman

Description

@ebuchman

I just noticed that the default log_level setting, log_level = "main:info,state:info,*:error", actually causes all modules to log at info level. This seems to be because the root logger has module=main, so all loggers derive from this and end up with the same setting as main, in this case info.

The main module doesn't log all that much, so we could just eliminate the main:info piece from the default. But we should probably fix this issue anyhow so that derivative loggers can have different levels than their parents.

Metadata

Metadata

Assignees

Labels

C:libsComponent: LibraryT:bugType Bug (Confirmed)T:observabilityType: Observability

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions