Add log for rails env and protocol