Only perform Rails worker log splitting, if Rails defined