Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix child logger overrides #1943

Closed
wants to merge 1 commit into from
Closed

Fix child logger overrides #1943

wants to merge 1 commit into from

Conversation

buffcode
Copy link

@buffcode buffcode commented Aug 13, 2021

  • child metadata should override parent metadata
  • custom meta should override logger's meta
  • support for multi-level child logger inheritance (child({meta: 1}).child({meta: 2}))

Tests added that fail for current master.

Fixes #1788

Child metadata should override parent meta and custom meta should override logger's meta.

Support for multi-level child logger inheritance.

Fixes #1788
@maverick1872
Copy link
Member

This implementation does not solve the underlying issue of metadata overrides do to references persisting. Feel free to test this implementation against the test cases I've developed in #1989.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Child Logger Doesn't Override Parent Metadata
2 participants