4.0: Change the way logs are copied for double debug mode