Make the log level setting one statement