Skip to content

Logging Strategy #552

Open
Open
@ljoss17

Description

@ljoss17

Context

The primary logging library used is tracing has 5 log levels: trace, debug, info, warn, and error. To improve the experience for both operators and developers, it's important to use these levels consistently and meaningfully.

Proposal

  • error – Reserved for critical failures that indicate an operation could not be completed successfully
  • warn and info – Intended for operators. These levels should include only information relevant to running and monitoring the relayer
  • debug and trace – Targeted at developers. These levels should provide detailed insights into relaying steps, helping with debugging and verification

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