Skip to content

Invalid JSON on not local env only #135

@bestwebua

Description

@bestwebua

Hello and thanks for this nice gem! I have a very strange issue. One application. During local running everything is okay. But when I run it on the demo env I see broken log structure:

{"name":"rackup","hostname":"4a37fsdf352a47","pid":9,"level":30,"time":"2023-09-22T14:26:36.298+00:00","v":0,"msg":"{:msg=>\"No message\", :service_name=>\"my-service\", :service_version=>\"1.0.0\", :team=>\"my-team\", :trace_id=>\"d0e7a1f58c8ffbb50a2655b465e76e77\", :span_id=>\"f05a320ca0b6aa96\"}"}

Under msg key we can see collected, not serialized as json, context, that should be in the root of expected json. Any ideas?

Seems this issue is very similar to: #94

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions