Fixes #389, set log level before finishing config checks