Update cli to set appropriate log level based on debug flag
This should close #12. The idea is the application level configures the logging module as it desires to for logging (presumably stdout/stderr for cli and files for the webserver) and the library just uses the logging module as appropriate.
It may be a bit surprising to have --debug mean INFO and above but matplotlib and friends have DEBUG output which noises things up more than we want (I presume).
Update cli to set appropriate log level based on debug flag
This should close #12. The idea is the application level configures the
logging
module as it desires to for logging (presumably stdout/stderr for cli and files for the webserver) and the library just uses thelogging
module as appropriate.It may be a bit surprising to have
--debug
meanINFO
and above but matplotlib and friends haveDEBUG
output which noises things up more than we want (I presume).