converted logs MVC to use COllection