Copy only logs that need to be copied.
Merge pull request #2033 from N3X15/fix-logcopy

Copy only logs that need to be copied.