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

run_swarm.py gives logging warning #3803

Closed
JonnoFTW opened this issue Feb 2, 2018 · 1 comment
Closed

run_swarm.py gives logging warning #3803

JonnoFTW opened this issue Feb 2, 2018 · 1 comment

Comments

@JonnoFTW
Copy link
Contributor

JonnoFTW commented Feb 2, 2018

When running /scripts/run_swarm.py and an error occurs, nothing is logged to stdout.

If you add these lines immediately below the imports, you will get sensible error reporting:

import logging
logging.basicConfig()

Doing this helped me fix the error where no password was set for mysql.

@rhyolight
Copy link
Member

Seems like an easy fix. Do you want to create the PR?

JonnoFTW added a commit to JonnoFTW/nupic that referenced this issue Feb 27, 2018
JonnoFTW added a commit to JonnoFTW/nupic that referenced this issue Feb 27, 2018
rhyolight pushed a commit that referenced this issue Feb 27, 2018
Fixes #3803 added logging to run_swarm.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants