Only set log level if it has lower precedence.

if --info and --debug were given, --info would win. This PR changes that.
Now it's: warn < info < debug.
But I can add ``` and new_loglevel is not NOSET``` to the if below if you want?