Skip to content

Fix missing commas in logs #7361

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

Open
wants to merge 3 commits into
base: unstable
Choose a base branch
from

Conversation

ackintosh
Copy link
Member

@ackintosh ackintosh commented Apr 27, 2025

Issue Addressed

In beacon.log, commas are missing in case where multiple spans are present, for example:

Apr 05 07:03:07.646 DEBUG Sync's view on execution engine state updated  past_state: Online, new_state: Offline, service: "sync"service: "network_context"

A comma should be present between service: "sync" and service: "network_context" as shown in the example.

Proposed Changes

This PR:

  • makes build_log_text() testable and adds unit tests for it
  • fixes the missing commas issue

@ackintosh ackintosh marked this pull request as ready for review April 27, 2025 22:49
@ackintosh ackintosh added the ready-for-review The code is ready for review label Apr 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-review The code is ready for review UX-and-logs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant