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

CLN: Remove overcomplicatted logging #2914

Merged
merged 3 commits into from
Sep 8, 2021
Merged

CLN: Remove overcomplicatted logging #2914

merged 3 commits into from
Sep 8, 2021

Conversation

datapythonista
Copy link
Contributor

Some backends implement Client.log, which doesn't seem useful at all. I guess the original reason was to be able to overwrite the method, so the logging could be replaced. I don't think Client is subclassed for any of the backends that provide the log method. And also, the provided implementation of the logging uses options.verbose_log, which can be set to change the logging in an easier way than overwritting the method.

Removing those log methods here, which are inconsistent among backends, don't provided any feature, and polute the public Client API.

@datapythonista datapythonista added refactor Issues or PRs related to refactoring the codebase backends Issues related to all backends labels Aug 23, 2021
@jreback jreback added this to the Next release milestone Aug 30, 2021
@jreback
Copy link
Contributor

jreback commented Aug 30, 2021

sure can you add a release note as this is technically public.

@datapythonista datapythonista mentioned this pull request Sep 6, 2021
@cpcloud
Copy link
Member

cpcloud commented Sep 8, 2021

@datapythonista seems like this is ready for merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backends Issues related to all backends refactor Issues or PRs related to refactoring the codebase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants