jruby/jruby-rack — Issue #93: Custom logging broken in 1.1.3
Author: matthauck
Created: 2012-02-07 07:22:30+00:00
State: open

I made a comment on [a commit](https://github.com/jruby/jruby-rack/commit/71427eecf5a50ac34217d6e3a566cfcb4589acef#commitcomment-939736) I think to be broken but thought I'd include it here too.

I think this commit breaks setting up custom logs. I am using Log4j and set up my logger instances in config/environments/*.rb. This worked just fine on 1.0.10, but upgrading to 1.1.3 broke my logging. By the end of Application.initialize! my loggers had been reset back. I am guessing it was this commit that did it.

I suggest it should be reworded to use `config.logger ||= ...` so as not to overwrite others customizations.