Can't write to a Logger in a signal handler

Remove warning with ruby 2.0.
Warning shows below:
"log writing failed. can't be called from trap context"

Related:
Can't write to a Logger in a signal handler
https://bugs.ruby-lang.org/issues/7917
Merge pull request #279 from sanemat/feature/logger-handling

Can't write to a Logger in a signal handler