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

Kernel log output should also be sent to slog #10776

Open
mhofman opened this issue Dec 26, 2024 · 0 comments
Open

Kernel log output should also be sent to slog #10776

mhofman opened this issue Dec 26, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request SwingSet package: SwingSet telemetry

Comments

@mhofman
Copy link
Member

mhofman commented Dec 26, 2024

What is the Problem Being Solved?

The slog capture detailed structured log events of SwingSet activity. One of these event is of type console, and can have source liveslots or vat. These console output are also sent to the stdout/stderr of the kernel process. The kernel also generate console output of its own, but does not generate console slog events for these, making it hard to use the slog as a single source of information.

Description of the Design

Update the logger endowed to the kernel to also send log calls to the slog sender with {type: 'console', source: 'kernel'}.

Security Considerations

None

Scaling Considerations

None

Test Plan

Manually verify that slog events contain kernel console output.

Upgrade Considerations

Chain software but does not affect consensus.

@mhofman mhofman added enhancement New feature or request SwingSet package: SwingSet telemetry labels Dec 26, 2024
@Muneeb147 Muneeb147 self-assigned this Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request SwingSet package: SwingSet telemetry
Projects
None yet
Development

No branches or pull requests

2 participants