updated to rails logger