Finds paths through logs