Added logger for Rails