logging-log4j2 icon indicating copy to clipboard operation
logging-log4j2 copied to clipboard

fix deleteAction can't distinguish basePath of symbolicLink

Open strugerk opened this issue 3 years ago • 0 comments

fix Appenders DeleteAction didn't work when basepath is symbolicLink. jira:https://issues.apache.org/jira/browse/LOG4J2-3342

image image

getSortedPaths should return subFile [log4j-shix-....log],but it only return currentFile dirName [log/file] problem:Files.walkFileTree api in java.nio can't list File directly when file is symbolicLink ,it need do someThing to deal with it

strugerk avatar Jan 15 '22 09:01 strugerk