mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
Add more info to DataSourceIngestJob logging
This commit is contained in:
parent
8920e94ded
commit
cded8ca655
@ -1082,7 +1082,7 @@ public final class DataSourceIngestJob {
|
||||
*
|
||||
* @param level The logging level for the message.
|
||||
* @param message The message.
|
||||
* @param throwable The error associated with the error, may be null.
|
||||
* @param throwable The throwable associated with the error.
|
||||
*/
|
||||
private void logErrorMessage(Level level, String message, Throwable throwable) {
|
||||
logger.log(level, String.format("%s (data source = %s, objId = %d, jobId = %d)", message, dataSource.getName(), dataSource.getId(), id), throwable); //NON-NLS
|
||||
@ -1094,7 +1094,6 @@ public final class DataSourceIngestJob {
|
||||
*
|
||||
* @param level The logging level for the message.
|
||||
* @param message The message.
|
||||
* @param ex The exception associated with the error.
|
||||
*/
|
||||
private void logErrorMessage(Level level, String message) {
|
||||
logger.log(level, String.format("%s (data source = %s, objId = %d, jobId = %d)", message, dataSource.getName(), dataSource.getId(), id)); //NON-NLS
|
||||
|
Loading…
x
Reference in New Issue
Block a user