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

Incorrect timestamp in log entries (seconds: -1) #4526

Open
OhmSpectator opened this issue Jan 16, 2025 · 1 comment
Open

Incorrect timestamp in log entries (seconds: -1) #4526

OhmSpectator opened this issue Jan 16, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@OhmSpectator
Copy link
Member

We sometimes see log entries like the following:

{ 
  "severity": "info",
  "source": "kernel",
  "content": "Booting Linux on physical CPU 0x0000000000 [0x410fd083]\n",
  "msgid": 1,
  "timestamp": {
    "seconds": -1,
    "nanos": 500806665,
    "str": "1969-12-31 11:59:59.500806665"
  }
}

The timestamp appears to be incorrect; seconds: -1 seems suspicious. As far as I understand, kernel messages are handled by newlogd and the timestamp to JSON is added there. This issue should be rechecked to ensure accurate logging.

Recent release

14.1.0

@OhmSpectator OhmSpectator added the bug Something isn't working label Jan 16, 2025
@OhmSpectator
Copy link
Member Author

@deitch any ideas? =)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant