You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by GitBox <gi...@apache.org> on 2022/10/05 20:08:41 UTC

[GitHub] [sling-org-apache-sling-resourceresolver] joerghoh commented on a diff in pull request #85: SLING-11604: Async VanityPathInitializer should log when completed

joerghoh commented on code in PR #85:
URL: https://github.com/apache/sling-org-apache-sling-resourceresolver/pull/85#discussion_r986027819


##########
src/main/java/org/apache/sling/resourceresolver/impl/mapping/MapEntries.java:
##########
@@ -329,7 +329,8 @@ private void execute() {
             try (ResourceResolver resolver = factory
                     .getServiceResourceResolver(factory.getServiceUserAuthenticationInfo("mapping"))) {
 
-                log.debug("vanity path init - start");
+                long initStart = System.nanoTime();
+                log.info("vanity path initialization - start");

Review Comment:
   I don't think that this message is really helpful on INFO level, because it will be always started along the SlingRepository.
   Leaving on DEBUG would be fine for me.



-- 
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-unsubscribe@sling.apache.org

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