Basic logging
Fix bug when 1 link among may fails. Closes #6