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

parser: avoid applying "time without year" hack to "%s" #2432

Merged
merged 1 commit into from
Aug 7, 2020

Conversation

fujimotos
Copy link
Member

This hack is meant to be for the old syslog format, which does
not contain a year part in timestamp (e.g. "Aug 10 13:20:55").

Obviously this hack is not applicable to Unix timestamps. Let's
fix it.

This bug was originally pointed out by @LionelCons in #2388

Signed-off-by: Fujimoto Seiji fujimoto@ceptord.net

This hack is meant to be for the old syslog format, which does
not contain a year part in timestamp (e.g. "Aug 10 13:20:55").

Obviously this hack is not applicable to Unix timestamps. Let's
fix it.

Signed-off-by: Fujimoto Seiji <fujimoto@ceptord.net>
@edsiper edsiper merged commit 61b43af into fluent:master Aug 7, 2020
@fujimotos fujimotos deleted the sf/epoch-timehack branch August 12, 2020 09:50
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