Skip to content
This repository was archived by the owner on Jan 29, 2025. It is now read-only.

Conversation

dsawa
Copy link

@dsawa dsawa commented Jul 29, 2020

Tagged logging feature from: graylog-labs#81

markglenn and others added 6 commits May 8, 2015 10:17
Implement tagged logging similar to ActiveSupport::TaggedLogging.
Don't use the default_options to pass the tags into the logger.  This
causes the tags field to be sent over to graylog as an array.  Instead
pass the tag names into an attribute called log_tags that matches with
the Rails standard of config.log_tags.
@dsawa dsawa merged commit 4dabce1 into nokaut:tagged-logging Jul 29, 2020
dsawa added a commit that referenced this pull request Jul 31, 2020
* Add tagged logging support

Implement tagged logging similar to ActiveSupport::TaggedLogging.

* Use log_tags attribute on logger

Don't use the default_options to pass the tags into the logger.  This
causes the tags field to be sent over to graylog as an array.  Instead
pass the tag names into an attribute called log_tags that matches with
the Rails standard of config.log_tags.

* Replace Thread#[] with Thread#thread_variable_get/set

* Skip log tags tests for Ruby 1.9

* Fix CI for JRuby

Co-authored-by: Mark Glenn <[email protected]>
Co-authored-by: Marcus Ilgner <[email protected]>
Co-authored-by: Vladimir Kitaev <[email protected]>

Co-authored-by: Mark Glenn <[email protected]>
Co-authored-by: Marcus Ilgner <[email protected]>
Co-authored-by: Vladimir Kitaev <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants