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

Duplicate log lines when using IPP #204

Closed
yadudoc opened this Issue Apr 12, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@yadudoc
Copy link
Member

yadudoc commented Apr 12, 2018

The following code fragment emits log lines to STDERR with the default format style even though no logging is requested. I suspect that ipyparallel is doing something dirty.

from parsl import DataFlowKernel
from parsl.configs.local import localIPP as config

dfk = DataFlowKernel(config=config)
dfk.cleanup()

The above code with the minor change of using threads will not emit the log lines.

from parsl import DataFlowKernel
from parsl.configs.local import localThreads as config

dfk = DataFlowKernel(config=config)
dfk.cleanup()

Please help test by running this with the latest parsl code.

@yadudoc yadudoc self-assigned this Apr 12, 2018

@yadudoc yadudoc added the bug label Apr 12, 2018

@annawoodard annawoodard added this to the Parsl-0.6.0 milestone May 9, 2018

@yadudoc

This comment has been minimized.

Copy link
Member Author

yadudoc commented Jul 3, 2018

It looks like whenever the IPP client is used, a StreamHandler is added to the RootLogger. This leads to duplicate log lines. I'm adding some code to identify the StreamHandler and mute it by setting the logLevel to ERROR.

annawoodard added a commit that referenced this issue Jul 3, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.