mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
write thread dumps to correct directory (IDEADEV-40838)
This commit is contained in:
@@ -82,8 +82,8 @@ public class PerformanceWatcher implements ApplicationComponent {
|
||||
}
|
||||
});
|
||||
|
||||
myLogDir = new File(PathManager.getSystemPath() + "/log/threadDumps-" + myDateFormat.format(new Date())
|
||||
+ "-" + ApplicationInfo.getInstance().getBuildNumber());
|
||||
myLogDir = new File(PathManager.getLogPath() + "/threadDumps-" + myDateFormat.format(new Date())
|
||||
+ "-" + ApplicationInfo.getInstance().getBuild().asString());
|
||||
myLogDir.mkdirs();
|
||||
myCurHangLogDir = myLogDir;
|
||||
myThreadMXBean = ManagementFactory.getThreadMXBean();
|
||||
|
||||
Reference in New Issue
Block a user