Skip to content

Update logging.go #32

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

Merged
merged 1 commit into from
Jun 18, 2024
Merged

Update logging.go #32

merged 1 commit into from
Jun 18, 2024

Conversation

nikodemas
Copy link
Member

Hi @vkuznet, maybe we could change the format of logging?

Because the current format with m=+... is a little bit difficult to catch with the logstash and I would argue that it actually decreases the readability of the logs. RFC3339Nano keeps the precision to the nanoseconds and automatically adds the time zone (see example here: https://go.dev/play/p/aLycNAJN7h2), so it should keep all of the functionality and make the logstash part easier.

@nikodemas nikodemas requested a review from vkuznet June 18, 2024 08:35
@vkuznet
Copy link
Collaborator

vkuznet commented Jun 18, 2024

Thanks, much appreciated.

@vkuznet vkuznet merged commit c0a381e into master Jun 18, 2024
1 check 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.

2 participants