correct rails logging