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

Debug output appears to indicate default executor even when default isn't used #31

Closed
dg1727 opened this issue Feb 17, 2015 · 2 comments
Assignees
Labels
Milestone

Comments

@dg1727
Copy link

dg1727 commented Feb 17, 2015

The user's program can run the following line to enable debug output on stderr/stdout:

logging.basicConfig(level=logging.DEBUG)

The debug output states the following message, apparently unconditionally, when user code runs .run_in_executor():

DEBUG:quamash.QEventLoop:Using default executor

... and the source code seems to confirm this [init.py starting at line 480, run_in_executor() method].

Hopefully the logic can be updated to print the mentioned message only when the default executor is being used.

@harvimt
Copy link
Owner

harvimt commented Feb 17, 2015

That's a weird error.

I don't think we expected anyone to use the debugging info unless they were actually working on the project.

harvimt added a commit that referenced this issue Feb 17, 2015
Only emit debug message "Using default executor" when the default
executor is being used.
@harvimt
Copy link
Owner

harvimt commented Feb 17, 2015

This fix will be released in version 0.6 when it is released.

@harvimt harvimt added the bug label Feb 17, 2015
@harvimt harvimt added this to the v.6 milestone Feb 17, 2015
@harvimt harvimt self-assigned this Feb 17, 2015
@harvimt harvimt closed this as completed May 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants