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

Semantic Logger removes keys from hash passed to loggers #211

Closed
mikesnare opened this issue Mar 24, 2022 · 0 comments
Closed

Semantic Logger removes keys from hash passed to loggers #211

mikesnare opened this issue Mar 24, 2022 · 0 comments

Comments

@mikesnare
Copy link

mikesnare commented Mar 24, 2022

Environment

Provide at least:

  • Ruby 2.7.5
  • Semantic Logger 4.10.0

Expected Behavior

details = { message: 'whatever' }
Rails.logger.info(details)
# At this point, the details object should be unchanged.  I.e. SL should not be modifying its input.

Actual Behavior

The message key (along with any key in this list) is removed from the input.

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

No branches or pull requests

1 participant