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

Logging improvements #4

Merged
merged 9 commits into from
Oct 31, 2023
Merged

Logging improvements #4

merged 9 commits into from
Oct 31, 2023

Conversation

hamishcoleman
Copy link
Contributor

No description provided.

When the logging output is being sent to the journald, we want to avoid
having the datetime prefix added by the n3n logging - the log lines will
end up in the journal with both a n3n datestamp and a journal datestamp.

While adding this, refactor the function to remove duplication and
various overheads.  Reduces the stack usage and the number of times the
strings are scanned.
@hamishcoleman hamishcoleman merged commit f9d0768 into n42n:main Oct 31, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant