zowe zos-logs list logs
command assumes time is now from Client
#2336
Labels
bug
Something isn't working
needs-ported
Indicates that a PR needs to be ported (master - lts-incremental)
priority-medium
Not functioning - next quarter if capacity permits
severity-medium
Bug where workaround exists or that doesn't prevent the usage of Zowe. Just makes it more complex.
Describe the bug
The command assumes the date and time from the client perspective. This can cause logs to be omitted, or the command to fail, if the server time differs from the client time (usually off by a few seconds to a minute). The API uses the server time for now if no time is passed. By default, we should not be passing the client time to the server, but let the server use its current time to get the most up to date logs (and prevent errors).
Expected and actual results
Describe your environment
Additional context
The text was updated successfully, but these errors were encountered: