Duplicating log4j_logger from rails 2

Updated specs too.
Style/SpaceInsideBlockBraces: Space missing inside {.<br>Style/SpaceInsideBlockBraces: Space missing inside }.