Removed hard-coded debug level and added :logging_level support.