graylog-labs / gelf-rb

Ruby GELF library (Graylog Extended Log Format)
https://rubygems.org/gems/gelf
MIT License
153 stars 104 forks source link

Setting Log-Level doesnt seem to have any impact #62

Open elassadi opened 6 years ago

elassadi commented 6 years ago

Hi

I am trying to initilize the gelf Logger with ` logger = ::GELF::Logger.new("localhost", 12201, "WAN", { :facility => 'UDP', :app=> 'someapp', :level => 0 })

logger.info ("some information")

will not execute

only

logger.error("some errors " )

send the message

`

am I missing some thing ? I already setup rails config level Globaly right before initializing the driver ! Unfortunatly the Level is still only Error ?

Thanks for any Help cheers