I would suggest consolidating your entire log-level switch into one line.

options[:log_level] = Logger.const_get(log_level.upcase) rescue Logger::INFO