Add more info to DataSourceIngestJob logging

This commit is contained in:
Richard Cordovano 2019-06-19 15:17:20 -04:00
parent 8920e94ded
commit cded8ca655

View File

@ -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