mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 13:10:44 +00:00
Turning up logging
This commit is contained in:
@ -179,7 +179,7 @@ public class PollingAutomationPerTableRunner implements Runnable
|
|||||||
|
|
||||||
String originalThreadName = Thread.currentThread().getName();
|
String originalThreadName = Thread.currentThread().getName();
|
||||||
Thread.currentThread().setName(name + StandardScheduledExecutor.newThreadNameRandomSuffix());
|
Thread.currentThread().setName(name + StandardScheduledExecutor.newThreadNameRandomSuffix());
|
||||||
LOG.debug("Running " + this.getClass().getSimpleName() + "[" + name + "]");
|
LOG.info("Running " + this.getClass().getSimpleName() + "[" + name + "]");
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
@ -209,7 +209,7 @@ public class PollingAutomationPerTableRunner implements Runnable
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
LOG.debug(" Query for records " + automationStatus + " in " + table);
|
LOG.info(" Query for records " + automationStatus + " in " + table);
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
// run an async-pipe loop - that will query for records in PENDING - put them in a pipe - then apply actions to them //
|
// run an async-pipe loop - that will query for records in PENDING - put them in a pipe - then apply actions to them //
|
||||||
@ -277,10 +277,10 @@ public class PollingAutomationPerTableRunner implements Runnable
|
|||||||
// note - this method - will re-query the objects, so we should have confidence that their data is fresh... //
|
// note - this method - will re-query the objects, so we should have confidence that their data is fresh... //
|
||||||
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
List<QRecord> matchingQRecords = getRecordsMatchingActionFilter(session, table, records, action);
|
List<QRecord> matchingQRecords = getRecordsMatchingActionFilter(session, table, records, action);
|
||||||
LOG.debug("Of the {} records that were pending automations, {} of them match the filter on the action {}", records.size(), matchingQRecords.size(), action);
|
LOG.info("Of the {} records that were pending automations, {} of them match the filter on the action {}", records.size(), matchingQRecords.size(), action);
|
||||||
if(CollectionUtils.nullSafeHasContents(matchingQRecords))
|
if(CollectionUtils.nullSafeHasContents(matchingQRecords))
|
||||||
{
|
{
|
||||||
LOG.debug(" Processing " + matchingQRecords.size() + " records in " + table + " for action " + action);
|
LOG.info(" Processing " + matchingQRecords.size() + " records in " + table + " for action " + action);
|
||||||
applyActionToMatchingRecords(instance, session, table, matchingQRecords, action);
|
applyActionToMatchingRecords(instance, session, table, matchingQRecords, action);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user