support differences in rails logger