Merge pull request #3028 from eugene7646/sys_log_2966

Minor AIM system log changes (2966)
This commit is contained in:
Richard Cordovano 2017-08-31 10:06:48 -04:00 committed by GitHub
commit e5949c1c32
2 changed files with 1 additions and 3 deletions

View File

@ -2646,8 +2646,6 @@ public final class AutoIngestManager extends Observable implements PropertyChang
* back into hostNamesToRunningJobs as a result of
* processing the job status update.
*/
SYS_LOGGER.log(Level.WARNING, "Auto ingest node {0} timed out while processing folder {1}",
new Object[]{job.getNodeName(), job.getManifest().getFilePath().toString()});
hostNamesToRunningJobs.remove(job.getNodeName());
setChanged();
notifyObservers(Event.JOB_COMPLETED);

View File

@ -35,7 +35,7 @@ import org.sleuthkit.autopsy.coreutils.PlatformUtil;
*/
final class AutoIngestSystemLogger {
private static final int LOG_SIZE = 10000000; // In bytes, zero is unlimited, set to roughly 10mb currently
private static final int LOG_SIZE = 50000000; // In bytes, zero is unlimited, set to roughly 10mb currently
private static final int LOG_FILE_COUNT = 10;
private static final Logger LOGGER = Logger.getLogger("AutoIngest"); //NON-NLS
private static final String NEWLINE = System.lineSeparator();