aruntomar / isp_unity

Multiple Internet Load balancing application
Other
29 stars 10 forks source link

Change the log level from config #9

Open sivagollapalli opened 12 years ago

aruntomar commented 12 years ago

the current code works with ruby 1.9.3-p125 but breaks with the error message in 1.9.3-p194 [root@router iso]# ispunity version /usr/local/rvm/gems/ruby-1.9.3-p194/gems/ispunity-0.0.5/lib/isp_unity_log.rb:10:in <top (required)>': Log level must be in 0..7 (ArgumentError) from /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:inrequire' from /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in require' from /usr/local/rvm/gems/ruby-1.9.3-p194/gems/ispunity-0.0.5/lib/isp_unity.rb:4:in<top (required)>' from /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in require' from /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:inrequire' from /usr/local/rvm/gems/ruby-1.9.3-p194/gems/ispunity-0.0.5/bin/ispunity:4:in <top (required)>' from /usr/local/rvm/gems/ruby-1.9.3-p194/bin/ispunity:19:inload' from /usr/local/rvm/gems/ruby-1.9.3-p194/bin/ispunity:19:in <main>' from /usr/local/rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:ineval' from /usr/local/rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:in `

'