mohiaror commented on a change in pull request #55:
URL: 
https://github.com/apache/sling-org-apache-sling-distribution-core/pull/55#discussion_r708010395



##########
File path: 
src/main/java/org/apache/sling/distribution/agent/impl/SimpleDistributionAgentQueueProcessor.java
##########
@@ -92,7 +92,7 @@ public boolean process(@NotNull String queueName, @NotNull 
DistributionQueueEntr
 
             final long endTime = System.currentTimeMillis();
 
-            distributionLog.debug("[{}] ITEM-PROCESSED item={}, status={}, 
processingTime={}ms", queueName, queueItem, success, endTime - startTime);
+            distributionLog.info("[{}] ITEM-PROCESSED item={}, status={}, 
processingTime={}ms", queueName, queueItem, success, endTime - startTime);

Review comment:
       This is what the distribution lon entry would look like now in case of 
successful distribution - 
   
   `2021/09/14 13:21:02:084 - INFO - [queue-bpdistributionagent0] 
PACKAGE-DELIVERED DSTRQ2: ADD 
item=dstrpck-1631605857371-3241eb55-0949-4ece-953d-4ebbf2ebf81d, 
paths=[/content/dam/10683CD3.JPG], importTime=4627ms, execTime=4739ms, 
size=10611B`

##########
File path: 
src/main/java/org/apache/sling/distribution/agent/impl/SimpleDistributionAgentQueueProcessor.java
##########
@@ -92,7 +92,7 @@ public boolean process(@NotNull String queueName, @NotNull 
DistributionQueueEntr
 
             final long endTime = System.currentTimeMillis();
 
-            distributionLog.debug("[{}] ITEM-PROCESSED item={}, status={}, 
processingTime={}ms", queueName, queueItem, success, endTime - startTime);
+            distributionLog.info("[{}] ITEM-PROCESSED item={}, status={}, 
processingTime={}ms", queueName, queueItem, success, endTime - startTime);

Review comment:
       This is what the distribution log entry would look like now in case of 
successful distribution - 
   
   `2021/09/14 13:21:02:084 - INFO - [queue-bpdistributionagent0] 
PACKAGE-DELIVERED DSTRQ2: ADD 
item=dstrpck-1631605857371-3241eb55-0949-4ece-953d-4ebbf2ebf81d, 
paths=[/content/dam/10683CD3.JPG], importTime=4627ms, execTime=4739ms, 
size=10611B`




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to