Adds logging.
Setup default log level.