Duplicating log4j_logger from rails 2

Updated specs too.
There is an blank line before & after ```protected```. Not sure why this did not close.