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

reduced log level for lenient handling of missing CR #647

Merged
merged 1 commit into from
Nov 24, 2020
Merged

reduced log level for lenient handling of missing CR #647

merged 1 commit into from
Nov 24, 2020

Conversation

hpoettker
Copy link
Contributor

Currently, sshj logs a warning when a a server identifies itself with a string that is not terminated as expected with CR LF but only LF.

As a user of ssh, I may have no control over the server I am connecting to and can do nothing to remediate the underlying issue. At the same time, sshj handles this situation very gracefully. Therefore, I'd consider the log level warning as too high.

To ensure helpful logging of the library, I suggest to reduce the log level from warn to info.

@hierynomus hierynomus merged commit 07d624b into hierynomus:master Nov 24, 2020
@hierynomus
Copy link
Owner

Thanks, agreed with the change.

@hpoettker hpoettker deleted the reduced_log_level branch March 7, 2021 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants