rudionrails/yell-adapters-gelf — pull request #7 by OscarBarrett (2014-05-29 15:10:03+00:00)
Title: Symbolize option keys

When using a yaml configuration file to initialize Yell loggers, the keys come through as strings instead of symbols (even when using symbolized keys in the yaml). Example configuration file:
```
environment:
:format: '<%= Yell::ExtendedFormat %>'
:level: 'gte.debug'
:adapters:
- :gelf:
:host: 'graylog_host.com'
:port: 12345
:facility: 'custom_facility'
:level: 'gte.error'
```

Logging out options in `setup` returns the following:
```
#"%d [%5L] %p %h : %m\n",
"level"=>"gte.debug",
"adapters"=>[{
"gelf"=>{
"host"=>"graylog_host.com",
"port"=>12345,
"facility"=>"custom_facility",
"level"=>"gte.error"
}
}]
},
@collection=[#>]
>
```

Compared with creating a logger using Yell.new:
```
#"graylog_host.com",
:port=>12345,
:facility=>"custom_facility",
:level=>"gte.error"
},
@collection=[#>]>
```

This PR symbolizes the keys of the options hash, allowing the gelf adapter to properly initialize using values in the config file rather than just falling back to the defaults. It doesn't symbolize the gelf hash itself, but from my testing it works fine as long the base keys are symbolized.