davetron5000/methadone — Issue #30: Provide an optional signal handler to change the log level at runtime
Author: davetron5000
Created: 2012-02-19 19:43:19+00:00
State: open

It would be handy to be able to change the log level to debug at runtime, without restarting the app, and then to change it back. Something like:

`use_log_level_option :change_at_runtime => true`

or, perhaps:

`use_log_level_option :change_at_runtime => 'USR1'`

this would enable something like:

```ruby
trap(signal) do
logger.level = Logger::DEBUG
end
```