Skip to content

Conversation

@karlseguin
Copy link
Collaborator

In debug mode, it has a more user-friendly output:

level | the log messge | ms since last message | key=value key=value

In release mode, it logs using logfmt, which is supported by most log ingestion frameworks.

Not being used anywhere right now, keeping this PR small with no impact on existing code.

@krichprollsch
Copy link
Member

@karlseguin LGTM. Can you please rebase the branch? 🙏

In debug mode, it has a more user-friendly output:

level | the log messge | ms since last message | key=value key=value

In release mode, it logs using logfmt, which is supported by most log
ingestion frameworks.

Not being used anywhere right now, keeping this PR small with no impact on
existing code.
@krichprollsch krichprollsch merged commit 3f23e07 into lightpanda-io:main Feb 22, 2025
9 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Feb 22, 2025
@karlseguin karlseguin deleted the logging branch February 24, 2025 10:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants