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

Prevent internal download functionality from logging at INFO level #6564

Merged
merged 1 commit into from
Mar 17, 2022

Conversation

mih
Copy link
Member

@mih mih commented Mar 17, 2022

See #6545 for the rational. #6545 was unfortunately filed as compound issue, hence
cannot be solved here.

Logging is maintained, but at DEBUG level. This enables using the
downloader functionality when the download is a technical detail (fetch
remote state info) rather then the primary goal (as with data downloads)
-- without unconditionally polluting user-facing output with traced of
internal processing.

It is unclear for which functionality the INFO level message would be or
was possibly essential, but any such functionality should either use
progress logging, or result reporting nowadays.

This remove a line like:

[INFO   ] [INFO] Fetching '<URL>/ria-layout-version' 

from every attempt to enable a ria+http special remote.

Changelog

🪓 Deprecations and removals

See datalad#6545 for the rational. datalad#6545 was filed as compound issue, hence
cannot be solved here.

Logging is maintained, but at DEBUG level. This enables using the
downloader functionality when the download is a technical detail (fetch
remote state info) rather then the primary goal (as with data downloads)
-- without unconditionally polluting user-facing output with traced of
internal processing.

It is unclear for which functionality the INFO level message would be or
was possibly essential, but any such functionality should either use
progress logging, or result reporting nowadays.
@mih mih added corpse-in-basement team-core core API/commands (https://github.com/datalad/datalad/issues/6365) labels Mar 17, 2022
@codeclimate
Copy link

codeclimate bot commented Mar 17, 2022

Code Climate has analyzed commit 4cff107 and detected 0 issues on this pull request.

View more on Code Climate.

@mih mih added the semver-patch Increment the patch version when merged label Mar 17, 2022
@mih
Copy link
Member Author

mih commented Mar 17, 2022

Failure pattern is #6492

@adswa
Copy link
Member

adswa commented Mar 17, 2022

ohhh thanks for this!

@mih mih merged commit c0a4bd4 into datalad:master Mar 17, 2022
@mih mih deleted the bf-6545 branch March 17, 2022 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
corpse-in-basement semver-patch Increment the patch version when merged team-core core API/commands (https://github.com/datalad/datalad/issues/6365)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants