Add logger for Rails