Refactor logger.info call
Merge remote-tracking branch 'upstream/master' into rails4