fixes #752 - Lookup the constant for the log level
As written, the Logger::WARN is just a string, causing a crash when comparing FIXNUM to String types. Switched to using get_const. Note that this requires changing the settings.yml file to use just the constant name, :log_level: WARN instead of Logger::WARN
Updating config example to reflect log change
Related issues
Bug #752: smart proxy may crash when using custom log level
fixes #752 - Lookup the constant for the log level
As written, the Logger::WARN is just a string, causing a crash when
comparing FIXNUM to String types. Switched to using get_const.
Note that this requires changing the settings.yml file to use just the
constant name, :log_level: WARN instead of Logger::WARN
Updating config example to reflect log change