diff --git a/bundles/com.espressif.idf.core/src/com/espressif/idf/core/bug/BugReportGenerator.java b/bundles/com.espressif.idf.core/src/com/espressif/idf/core/bug/BugReportGenerator.java index 421769758..3663feb5c 100644 --- a/bundles/com.espressif.idf.core/src/com/espressif/idf/core/bug/BugReportGenerator.java +++ b/bundles/com.espressif.idf.core/src/com/espressif/idf/core/bug/BugReportGenerator.java @@ -118,7 +118,7 @@ private File getEimLogPath() eimPath = System.getProperty("user.home"); //$NON-NLS-1$ if (!StringUtil.isEmpty(eimPath)) { - eimPath = eimPath + "/.local/share/.eim/logs"; //$NON-NLS-1$ + eimPath = eimPath + "/.local/share/eim/logs"; //$NON-NLS-1$ } break; default: @@ -157,14 +157,12 @@ private List getIdeMetadataLogsFile() { continue; } - String fileName = file.getName(); if (fileName.equals("version.ini")) //$NON-NLS-1$ { logFiles.add(file); continue; } - if (fileName.endsWith(ECLIPSE_LOG_FILE_NAME)) { if (fileName.equals(ECLIPSE_LOG_FILE_NAME)) @@ -286,7 +284,6 @@ public String generateBugReport() { FileUtil.copyFile(logFile, new File(ideLogDir.getAbsolutePath() + File.separator + logFile.getName())); } - File eimLogPath = getEimLogPath(); Logger.log("EIM log path: " + eimLogPath.getAbsolutePath()); //$NON-NLS-1$ File eimLogDir = new File(bugReportDirectory.getAbsolutePath() + File.separator + "eim_logs"); //$NON-NLS-1$ )