Applied the patch suggested by @yogi in padrino/padrino-framework#815
to make the logger thread-safe.
Merge pull request #1035 from padrino/thread-safe-logger

Workaround on a jruby issues with thread-safety