-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
Timestamp in inconsistent format (all seconds) in ETCD(v 3.5) logs for fileutil/fileutil.go #14736
Comments
Thanks @ankitg-03 for raising this issue. This seems like a good first issue for new contributors. |
This was reproduced in version v3.5.0. within function
Since v 3.6.0 the reported issue was fixed. The signature of this function was changed to inject *zap.logger, and the issue is not reproducible anymore (it works fine): |
working on this. |
Hi, I checked that the fix would be delivered in ETCD 3.5.6. Could you please share the timeline for release of 3.5.6? |
Fixed with #14799 |
Hi @serathius , Could you please help to change the timestamp format as below. Secondly, I would kindly like to ask you the timeline for release of 3.5.6? |
Hi @serathius , |
Don't know, please post questions on https://github.com/etcd-io/etcd/discussions |
What happened?
Hi,
We encountered an issue with the "timestamps" while printing the pod logs (ETCD version : 3.5)
We are unexpectedly getting the timestamp in seconds in log lines for fileutil/fileutil.go, whereas rest are in the format yyyy-MM-ddTHH:mm:ss.SSSZ
We would like to ask for more knowledge about the same to achieve the following format(yyyy-MM-ddTHH:mm:ss.SSSZ) ?
Note: The above issue is not seen in ETCD version 3.4
What did you expect to happen?
We expected timestamp format for logs to be the following yyyy-MM-ddTHH:mm:ss.SSSZ, same as all other logs.
How can we reproduce it (as minimally and precisely as possible)?
If folder permission is not 700 then we would get the message. In our case folder permission is 750 or 770, so we are getting the warn message with inconsistent timestamp format.
Anything else we need to know?
No response
Etcd version (please run commands below)
Etcd configuration (command line flags or environment variables)
paste your configuration here
Etcd debug information (please run commands blow, feel free to obfuscate the IP address or FQDN in the output)
Relevant log output
The text was updated successfully, but these errors were encountered: