numenta / nupic-legacy

Numenta Platform for Intelligent Computing is an implementation of Hierarchical Temporal Memory (HTM), a theory of intelligence based strictly on the neuroscience of the neocortex.
http://numenta.org/
GNU Affero General Public License v3.0
6.34k stars 1.56k forks source link

run_swarm.py gives logging warning #3803

Closed JonnoFTW closed 6 years ago

JonnoFTW commented 6 years ago

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 commented 6 years ago

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