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

Extend logTime to nanosecond precision #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

roryrjb
Copy link

@roryrjb roryrjb commented Aug 20, 2023

Hello! Thanks for the handy syntax file.

These days I'm mostly looking at logs from Kubenetes pods. Using kubectl you can specify the --timestamps=true flag which will prefix all log entries with the timestamp they were recorded. Anyway this seems to be at nanosecond granularity, e.g.

2023-08-17T07:52:26.131134150Z Generating output directory: dist/
2023-08-17T07:52:26.144996867Z Full static mode activated
2023-08-17T07:52:26.146209081Z Generating pages

This change just extends the logTime regex up to 9 digits. Please consider merging it in, many thanks!

@roryrjb roryrjb changed the title Extend logTime to nanosecond granularity Extend logTime to nanosecond precision Aug 20, 2023
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.

None yet

1 participant