You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding custom fields in the logstasher initializer:
LogStasher.add_custom_fields do |fields| fields[:uid] = request.uuid end
I see that it adds the new field in the regular request @tags":["request"].
But when I have an exception (@tags":["request","exception"]) the new field is not being added to the log entry. Even if I try to debug I see that it doesn't even stop in the initializer code.
The text was updated successfully, but these errors were encountered:
When adding custom fields in the logstasher initializer:
LogStasher.add_custom_fields do |fields| fields[:uid] = request.uuid end
I see that it adds the new field in the regular request
@tags":["request"]
.But when I have an exception (
@tags":["request","exception"]
) the new field is not being added to the log entry. Even if I try to debug I see that it doesn't even stop in the initializer code.The text was updated successfully, but these errors were encountered: