Able to choose log level at the command line.

Not usually happy using getattr but the choices are limited by `click.Choice` so it is safe.  The [Python docs](https://docs.python.org/2/howto/logging.html#logging-to-a-file) seem to say that is the way to turn a string to a loglevel.