mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 09:17:42 +00:00
Merge remote-tracking branch 'upstream/release-4.5.0' into 3007-fix-ccn-attributes
This commit is contained in:
commit
2e70a97387
@ -83,6 +83,8 @@ public class CorrelationAttribute implements Serializable {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
// NOTE: This string is currently being used in IngestEventsListener to detect if we have already seen
|
||||
// the value and type pair. Be careful if this method is changed.
|
||||
String result = this.getID()
|
||||
+ this.getCorrelationType().toString()
|
||||
+ this.getCorrelationValue();
|
||||
|
@ -349,19 +349,6 @@ final class AutoIngestJobLogger {
|
||||
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.
|
||||
*
|
||||
|
@ -2531,9 +2531,6 @@ public final class AutoIngestManager extends Observable implements PropertyChang
|
||||
if (fileExporter.isEnabled()) {
|
||||
fileExporter.process(manifest.getDeviceId(), dataSource.getContent(), currentJob::isCanceled);
|
||||
jobLogger.logFileExportCompleted();
|
||||
} else {
|
||||
SYS_LOGGER.log(Level.WARNING, "Exporting files not enabled for {0}", manifestPath);
|
||||
jobLogger.logFileExportDisabled();
|
||||
}
|
||||
} catch (FileExportException ex) {
|
||||
SYS_LOGGER.log(Level.SEVERE, String.format("Error doing file export for %s", manifestPath), ex);
|
||||
|
Loading…
x
Reference in New Issue
Block a user