[ https://issues.apache.org/jira/browse/LOG4J2-1173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Remko Popma updated LOG4J2-1173: -------------------------------- 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: {quote} 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 {quote} 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. was: 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: {noformat} 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 {noformat} 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. > ERROR Unable to rename file in version 2.4 and 2.4.1 > ---------------------------------------------------- > > Key: LOG4J2-1173 > URL: https://issues.apache.org/jira/browse/LOG4J2-1173 > Project: Log4j 2 > Issue Type: Bug > Components: Appenders > Affects Versions: 2.4 > Environment: Linux > Reporter: Hai-Dang Pham > > 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: > {quote} > 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 > {quote} > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-dev-h...@logging.apache.org