[
https://issues.apache.org/jira/browse/SLING-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12595275#action_12595275
]
Bertrand Delacretaz commented on SLING-3:
-----------------------------------------
Revision 654541 logs more details, here's an example for the
http://localhost:8888/content/mynode.html at the end of the "Sling in 15
minutes" example. Log messages go to target/sling/logs/error.log if Sling is
started with "mvn jetty:run" in launchpad/webapp.
Note that Sling logging must be set to "debug" for this to work - go to
http://localhost:8888/system/console/configMgr and select the "Sling logging
configuration".
REQUEST_28 - 0 (2008-05-08 16:54:10) Starting Request Processing
REQUEST_28 - 0 (2008-05-08 16:54:10) Starting ResourceResolution
REQUEST_28 - 6 (2008-05-08 16:54:10) URI=/content/mynode.html resolves to
Resource=JcrNodeResource, type=foo/bar, path=/content/mynode, elapsed = 6ms
REQUEST_28 - 6 (2008-05-08 16:54:10) Starting ServletResolution
REQUEST_28 - 6 (2008-05-08 16:54:10) Starting
resolverServlet(JcrNodeResource, type=foo/bar, path=/content/mynode)
REQUEST_28 - 24 (2008-05-08 16:54:10) Using Servlet
/apps/foo/bar/html.esp, elapsed = 18ms
REQUEST_28 - 25 (2008-05-08 16:54:10) URI=/content/mynode.html handled by
Servlet=Script /apps/foo/bar/html.esp, elapsed = 19ms
REQUEST_28 - 25 (2008-05-08 16:54:10) Starting /apps/foo/bar/html.esp#0
REQUEST_28 - 37 (2008-05-08 16:54:10) Including resource /content/header
REQUEST_28 - 37 (2008-05-08 16:54:10) Starting
resolverServlet(JcrNodeResource, type=foo/header, path=/content/header)
REQUEST_28 - 47 (2008-05-08 16:54:10) Using Servlet
/apps/foo/header/html.esp, elapsed = 10ms
REQUEST_28 - 47 (2008-05-08 16:54:10) Starting /apps/foo/header/html.esp#1
REQUEST_28 - 68 (2008-05-08 16:54:10) /apps/foo/header/html.esp#1, elapsed
= 21ms
REQUEST_28 - 69 (2008-05-08 16:54:10) /apps/foo/bar/html.esp#0, elapsed =
44ms
REQUEST_28 - 69 (2008-05-08 16:54:10) Request Processing ends, elapsed =
69ms
REQUEST_29 - 0 (2008-05-08 16:54:10) Starting Request Processing
REQUEST_29 - 1 (2008-05-08 16:54:10) Starting ResourceResolution
REQUEST_29 - 3 (2008-05-08 16:54:10) URI=/images/sling.jpg resolves to
Resource=JcrNodeResource, type=nt:file, path=/images/sling.jpg, elapsed = 2ms
REQUEST_29 - 3 (2008-05-08 16:54:10) Starting ServletResolution
REQUEST_29 - 3 (2008-05-08 16:54:10) Starting
resolverServlet(JcrNodeResource, type=nt:file, path=/images/sling.jpg)
REQUEST_29 - 11 (2008-05-08 16:54:10) Using Servlet
org.apache.sling.servlets.DefaultGetServlet, elapsed = 8ms
REQUEST_29 - 12 (2008-05-08 16:54:10) URI=/images/sling.jpg handled by
Servlet=DefaultGetServlet, elapsed = 9ms
REQUEST_29 - 12 (2008-05-08 16:54:10) Starting
org.apache.sling.servlets.DefaultGetServlet#0
REQUEST_29 - 12 (2008-05-08 16:54:10) Using
org.apache.sling.servlets.helpers.StreamRendererServlet to render for
extension=null
REQUEST_29 - 12 (2008-05-08 16:54:10)
org.apache.sling.servlets.DefaultGetServlet#0, elapsed = 0ms
REQUEST_29 - 12 (2008-05-08 16:54:10) Request Processing ends, elapsed =
12ms
> Use RequestProgressTracker to log request processing steps
> ----------------------------------------------------------
>
> Key: SLING-3
> URL: https://issues.apache.org/jira/browse/SLING-3
> Project: Sling
> Issue Type: Improvement
> Components: Core, JSP, Resource, Scripting, ServletResolver
> Reporter: Felix Meschberger
>
> The RequestProgressTacker interface defines an API which may be used to track
> the process of request processing. Parties taking part in request processing,
> most notably resource resolution, script and servlet resolution and also
> request filters should track their progress in the tracker.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.