Skip to content

Set Json format to Warning logs #419

@diegopazosrego

Description

@diegopazosrego

Hi,

Due to the new requirement to change the Safe Events monitor using the new log line of type Warning, we see that the line does not use the standard JSON format like the INFO or ERROR types.

Log Example:

Webhook exceeded failure threshold but was not disabled (autoDisableWebhook is OFF) — ID: 55f7847c-2e24-4e7e-bc8a-5c9ae04451f0, URL: https://prod.gnosis-webhook.utils.coinshift.xyz/.

Could you please modify using the standard Json format to be able to configure the alert monitor based on the URL?

Json proposal (could be modified, just an idea)
{ "level":"warn", "message":"Webhook exceeded failure threshold but was not disabled (autoDisableWebhook is OFF)", "messageContext": { {"webhook": { "URI":"https://prod.gnosis-webhook.utils.coinshift.xyz", "ID":"5f7847c-2e24-4e7e-bc8a-5c9ae04451f0,"}}, "context":"WebhookDispatcherService", "timestamp":"2025-06-25T12:03:09.941Z"}
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions