repair of logs