cziegeler commented on code in PR #22:
URL:
https://github.com/apache/sling-org-apache-sling-servlets-post/pull/22#discussion_r1346879632
##########
src/main/java/org/apache/sling/servlets/post/AbstractPostOperation.java:
##########
@@ -108,11 +112,15 @@ public void run(final SlingHttpServletRequest request,
// invoke processors
if (processors != null) {
for (SlingPostProcessor processor : processors) {
+ Instant start = Instant.now();
+ request.getRequestProgressTracker().log("About to perform
processor {}", processor.getClass().getName());
Review Comment:
Why not use the timer function of the tracker?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]