mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-14 17:06:16 +00:00
Remove case auto ingest log warning if AFE is not enabled
This commit is contained in:
parent
7769e10071
commit
face3ca367
@ -349,19 +349,6 @@ final class AutoIngestJobLogger {
|
|||||||
log(MessageCategory.WARNING, "Analysis of data source cancelled");
|
log(MessageCategory.WARNING, "Analysis of data source cancelled");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Logs that automated file export is not enabled.
|
|
||||||
*
|
|
||||||
* @throws AutoIngestJobLoggerException if there is an error writing the log
|
|
||||||
* message.
|
|
||||||
* @throws InterruptedException if interrupted while blocked waiting
|
|
||||||
* to acquire an exclusive lock on the
|
|
||||||
* log file.
|
|
||||||
*/
|
|
||||||
void logFileExportDisabled() throws AutoIngestJobLoggerException, InterruptedException {
|
|
||||||
log(MessageCategory.WARNING, "Automated file export is not enabled");
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Logs completion of file export.
|
* Logs completion of file export.
|
||||||
*
|
*
|
||||||
|
@ -2531,10 +2531,7 @@ public final class AutoIngestManager extends Observable implements PropertyChang
|
|||||||
if (fileExporter.isEnabled()) {
|
if (fileExporter.isEnabled()) {
|
||||||
fileExporter.process(manifest.getDeviceId(), dataSource.getContent(), currentJob::isCanceled);
|
fileExporter.process(manifest.getDeviceId(), dataSource.getContent(), currentJob::isCanceled);
|
||||||
jobLogger.logFileExportCompleted();
|
jobLogger.logFileExportCompleted();
|
||||||
} else {
|
}
|
||||||
SYS_LOGGER.log(Level.WARNING, "Exporting files not enabled for {0}", manifestPath);
|
|
||||||
jobLogger.logFileExportDisabled();
|
|
||||||
}
|
|
||||||
} catch (FileExportException ex) {
|
} catch (FileExportException ex) {
|
||||||
SYS_LOGGER.log(Level.SEVERE, String.format("Error doing file export for %s", manifestPath), ex);
|
SYS_LOGGER.log(Level.SEVERE, String.format("Error doing file export for %s", manifestPath), ex);
|
||||||
currentJob.setErrorsOccurred(true);
|
currentJob.setErrorsOccurred(true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user