refactoring logdao with criteria added
Spring DATA jpa