trying to fix rails logging