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

Remove global logging setup #416

Merged
merged 2 commits into from
Jan 15, 2022

Conversation

chrisroat
Copy link
Contributor

As per #295, libraries generally avoid setting up logging. That should left to the applications calling the code.

The default logging writes to a file in the home directory, which leads to trouble if multiple runs of cellpose are executing which access the same home directory, or the program does not have write access to that directory.

Closes #295

@timblosser
Copy link

I don't have much to add, except moral support. I hope this PR can be merged to master soon as I would greatly appreciate implementing this change in my workflow (MERFISH analysis).

@carsen-stringer carsen-stringer merged commit 08040a3 into MouseLand:master Jan 15, 2022
@carsen-stringer
Copy link
Member

this is great thanks, I am happy with the new implementation, I will call the logger in the jupyter-notebook example as well to activate it for the user.

@pskeshu
Copy link

pskeshu commented Jan 15, 2022

is it possible to release it on pip?

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.

turn off logging configuration
4 participants