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

Enhance logs in mithril-relay #2014

Merged
merged 8 commits into from
Oct 18, 2024
Merged

Enhance logs in mithril-relay #2014

merged 8 commits into from
Oct 18, 2024

Commits on Oct 18, 2024

  1. feat(relay): pass a context struct to all commands

    Instead of passing only config parameters, this design allow to add
    other shared dependencies such as a common logger.
    Alenar committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    58bcb0a View commit details
    Browse the repository at this point in the history
  2. refactor(relay): add a dedicated logger to all components

    This prepare slog_scope removal
    Alenar committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    01d5414 View commit details
    Browse the repository at this point in the history
  3. refactor(relay): use a dedicated logger for all logs

    + remove `slog_scope`, now only used in integration tests.
    Alenar committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    2232588 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    48f3788 View commit details
    Browse the repository at this point in the history
  5. refactor(relay): move huge context data away from logs main msg

    And instead add them to a property. This allow to keep the main log
    messages leans while still providing detailed errors info.
    Alenar committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    a5f485e View commit details
    Browse the repository at this point in the history
  6. style(relay): remove prefixes used in logs & apply standard rules

    * Capitalize first letter of functionnal logs
    Alenar committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    c8882ac View commit details
    Browse the repository at this point in the history
  7. refactor(relay): use bunyan format for logs

    so we are consistent accross all nodes.
    Alenar committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    eda5253 View commit details
    Browse the repository at this point in the history
  8. chore: upgrade crate versions

    * mithril-relay from `0.1.25` to `0.1.26`
    Alenar committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    a879a96 View commit details
    Browse the repository at this point in the history