add logger to repository