-
Notifications
You must be signed in to change notification settings - Fork 35
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
Fix log timestamp in forwarder-vpp for [cmd:vpp] printouts #9124
Comments
The time is burned into the logger here: I'm not sure what would be a better fix here.
I don't think there is any way to fix it without touching the code of these libraries. |
@ljkiraly Should be fixed in v1.9.0 Could you please check? |
Works fine. Closing now. |
Expected Behavior
The timestamp should show the time when the given event has happened.
Current Behavior
Any log printout line tagged by [cmd:vpp] have the same timestamp.
Failure Information (for bugs)
In vpphelper the Stdout and Stderr for vpp are set to be log.Entry(ctx).Writer(). The timestamp will get a value at this initialization and remains the same. So maybe the logrus callback behave strangely.
Steps to Reproduce
Context
Failure Logs
Log extract:
The text was updated successfully, but these errors were encountered: