We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In SSHKit 1.6.0 the successful completion status of each command was logged, like this:
INFO [b02151f4] Finished in 0.141 seconds with exit status 0 (successful).
In SSHKit 1.7.0 these log messages are gone. SSHKit 1.7.0 logs the command but never logs the "Finished" message.
This regression is due to this commit: aa278db#diff-6285ece7ab8d7c6b765599fa5ee02b01
Before, the exit_status was updated first, and then the command was logged, like this:
exit_status
cmd.exit_status = data.read_long output << cmd
Now in 1.7.0, the order is flipped, such that the command is logged before the status is updated:
output << cmd cmd.exit_status = data.read_long
As a result, the logger never receives the command with the exit status. This is very important information that is now missing from the log output.
The text was updated successfully, but these errors were encountered:
See v1.7.1, a quick report, and following fix, and great quality fix at that.. just pushed a patch release with your changes
v1.7.1
Sorry, something went wrong.
https://rubygems.org/gems/sshkit/versions/1.7.1
Thanks! 😃
Successfully merging a pull request may close this issue.
In SSHKit 1.6.0 the successful completion status of each command was logged, like this:
In SSHKit 1.7.0 these log messages are gone. SSHKit 1.7.0 logs the command but never logs the "Finished" message.
This regression is due to this commit: aa278db#diff-6285ece7ab8d7c6b765599fa5ee02b01
Before, the
exit_status
was updated first, and then the command was logged, like this:Now in 1.7.0, the order is flipped, such that the command is logged before the status is updated:
As a result, the logger never receives the command with the exit status. This is very important information that is now missing from the log output.
The text was updated successfully, but these errors were encountered: