File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
src/main/java/com/tibagni/logviewer Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -401,7 +401,7 @@ public void loadLogs(File[] logFiles) {
401401 view .showAvailableLogStreams (availableStreams .keySet ());
402402
403403 if (allLogs .length > 0 ) {
404- String logsPath = FilenameUtils .getFullPath (logFiles [0 ].getPath ());
404+ String logsPath = FilenameUtils .getFullPath (logFiles [0 ].getAbsolutePath ());
405405 view .showCurrentLogsLocation (logsPath );
406406
407407 long appliedFiltersCount = getFiltersThat (filter -> filter .isApplied ()).size ();
Original file line number Diff line number Diff line change @@ -219,6 +219,7 @@ public void showLogs(LogEntry[] logEntries) {
219219
220220 @ Override
221221 public void showCurrentLogsLocation (String logsPath ) {
222+ Logger .debug ("showCurrentLogsLocation: " + logsPath );
222223 String text = logsPath == null ?
223224 null :
224225 SwingUtils .truncateTextFor (
You can’t perform that action at this time.
0 commit comments