Add log level support

Please check if all log levels are appropriate and if my env-reading
stuff can be optimized.
This should be critical. It just doesn't mean that no connectors are found, but that a more low level error has happened.