log repository - part 1