graylog-labs / gelf-rb

Ruby GELF library (Graylog Extended Log Format)

Home Page:https://rubygems.org/gems/gelf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Setting Log-Level doesnt seem to have any impact

elassadi opened this issue · comments

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