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

Suppressing debug and info logging? #137

Open
markemus opened this issue Oct 1, 2020 · 5 comments
Open

Suppressing debug and info logging? #137

markemus opened this issue Oct 1, 2020 · 5 comments

Comments

@markemus
Copy link

markemus commented Oct 1, 2020

I'm getting a huge number of DEBUG and INFO level messages from bioformats when trying to read an image. Is there a way to suppress these? I wasn't able to find anything about it in the documentation, existing issues, or in the javabridge documentation/issues. The only discussion I found was this issue but bioformats.init_logger() doesn't seem to exist anymore.

@sommerc
Copy link

sommerc commented Oct 22, 2020

Same here.

@RonaldY98
Copy link

Running into the same issue

@hayatoikoma
Copy link

This function helped me to suppress the messages.

@mehdiborji
Copy link

Thank you @hayatoikoma this solution seems to be working at least for now, credits to @pskeshu !
More information here:
https://forum.image.sc/t/python-bioformats-and-javabridge-debug-messages/12578

@ctrueden
Copy link
Member

Also maybe worth mentioning:

DebugTools.setRootLevel("OFF"); // Bio-Formats

(Thanks to @tischi for this workaround.)

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

No branches or pull requests

6 participants