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

Custom Events can't access tags from Tagged Logging #48

Closed
platphorm opened this issue Jun 25, 2015 · 1 comment
Closed

Custom Events can't access tags from Tagged Logging #48

platphorm opened this issue Jun 25, 2015 · 1 comment
Labels

Comments

@platphorm
Copy link

Currently the call to
LogStashLogger.configuration.customize_event_block.call(event)
happens before the current_tags are added to the event. As such, when using tagged logging, the customize_event can't access the tags.

Why do we care?
In my case tagged logging (Rails) is adding a few pieces of information, such as session information, current user etc. In the customize_event call I'd like to change the tags into proper fields.

@dwbutler
Copy link
Owner

Released in 0.10.2

@dwbutler dwbutler added the bug label Aug 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants