rails 4 compliant custom logger