Project

General

Profile

Bug #752

smart proxy may crash when using custom log level

Added by Ohad Levy over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

Logger::WARN is just a string, causing a crash when comparing FIXNUM to String types

Associated revisions

Revision 5821a269 (diff)
Added by Mark Bainter over 9 years ago

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

History

#1 Updated by Anonymous over 9 years ago

  • Status changed from New to Ready For Testing
  • % Done changed from 0 to 100

#2 Updated by Ohad Levy over 9 years ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF