Skip to content

Commit 7b63a44

Browse files
authored
IEP-1618: Generate Bug Reports (#1315)
* Updated to add only .log files * updated eim logs path for linux
1 parent 410f4d5 commit 7b63a44

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

bundles/com.espressif.idf.core/src/com/espressif/idf/core/bug/BugReportGenerator.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ private File getEimLogPath()
118118
eimPath = System.getProperty("user.home"); //$NON-NLS-1$
119119
if (!StringUtil.isEmpty(eimPath))
120120
{
121-
eimPath = eimPath + "/.local/share/.eim/logs"; //$NON-NLS-1$
121+
eimPath = eimPath + "/.local/share/eim/logs"; //$NON-NLS-1$
122122
}
123123
break;
124124
default:
@@ -157,14 +157,12 @@ private List<File> getIdeMetadataLogsFile()
157157
{
158158
continue;
159159
}
160-
161160
String fileName = file.getName();
162161
if (fileName.equals("version.ini")) //$NON-NLS-1$
163162
{
164163
logFiles.add(file);
165164
continue;
166165
}
167-
168166
if (fileName.endsWith(ECLIPSE_LOG_FILE_NAME))
169167
{
170168
if (fileName.equals(ECLIPSE_LOG_FILE_NAME))
@@ -286,7 +284,6 @@ public String generateBugReport()
286284
{
287285
FileUtil.copyFile(logFile, new File(ideLogDir.getAbsolutePath() + File.separator + logFile.getName()));
288286
}
289-
290287
File eimLogPath = getEimLogPath();
291288
Logger.log("EIM log path: " + eimLogPath.getAbsolutePath()); //$NON-NLS-1$
292289
File eimLogDir = new File(bugReportDirectory.getAbsolutePath() + File.separator + "eim_logs"); //$NON-NLS-1$ )

0 commit comments

Comments
 (0)