Logger config inheritance is static instead of dynamic #43

Closed
opened 2025-05-23 17:38:23 +00:00 by MBurchard · 0 comments
MBurchard commented 2025-05-23 17:38:23 +00:00 (Migrated from github.com)

Currently, the logger copies configuration values like level and includeCallSite from its parent only once during construction. This means that changes to the root logger’s configuration are not reflected in existing child loggers.

This breaks the expectation of a hierarchical logger setup, where children should inherit unspecified values dynamically from their parent.

Currently, the logger copies configuration values like `level` and `includeCallSite` from its parent only once during construction. This means that changes to the root logger’s configuration are not reflected in existing child loggers. This breaks the expectation of a hierarchical logger setup, where children should inherit unspecified values dynamically from their parent.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mburchard/bit-log#43
No description provided.