Under rare conditions, when we run the "gfsh export logs" command, log files are getting stored in the target directory and in "/tmp" as well.
Product Version: 9.x, 10.x
OS: Linux
Basically, the GemFire gfsh export logs command will utilize the "java.io.tmpdir" system parameter setting such as "java.io.tmpdir=/tmp" in Linux as an export file handling working directory. GemFire will delete temporary files under ""java.io.tmpdir"" after the export zip file copies to the target directory.
If logs still exist in the tmpdir folder, there may be several possibilities for this:
1. The Linux user's permission may be changed during this period.
2. The JVM failed to remove the log files under tmpdir due to a failure to get tmpdir log files handler which may relate to a Linux env or JDK version bug.