Description
When using RollingAppender with version 2.4 and 2.4.1 with the archiving directory mapped to a remote Linux host. We get the following error:
2015-10-22 18:33:33,082 Thread-1 ERROR Unable to rename file /opt/local/log/servicedeamon_124.log to /home/remote/Logs/20151022/servicedeamon-20151022-13.log - /home/remote/Logs/20151022/servicedeamon-20151022-13.log
This used to work in version 2.3. Looking at FileRenameAction.java, I see that the method copyFile(final File source, final File destination) has been modified extensively. Issue started happening when java.nio.file.Files were used.