You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2009/10/07 11:14:31 UTC
[jira] Resolved: (SLING-1139) Add structure to
SlingRequestProgressTracker messages
[ https://issues.apache.org/jira/browse/SLING-1139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bertrand Delacretaz resolved SLING-1139.
----------------------------------------
Resolution: Fixed
With the changes of revision 822628, the output of the same example is:
0 (2009-10-07 11:11:29) TIMER_START|Request Processing
0 (2009-10-07 11:11:29) Method=GET, PathInfo=/index.html
1 (2009-10-07 11:11:29) TIMER_START|ResourceResolution
5 (2009-10-07 11:11:29) TIMER_END|ResourceResolution|URI=/index.html resolves to Resource=JcrNodeResource, type=nt:file, superType=null, path=/index.html|TIMER_ELAPSED=4 msec
6 (2009-10-07 11:11:29) Resource Path Info: SlingRequestPathInfo: path='/index.html', selectorString='null', extension='null', suffix='null'
6 (2009-10-07 11:11:29) TIMER_START|ServletResolution
7 (2009-10-07 11:11:29) TIMER_START|resolveServlet(JcrNodeResource, type=nt:file, superType=null, path=/index.html)
24 (2009-10-07 11:11:29) TIMER_END|resolveServlet(JcrNodeResource, type=nt:file, superType=null, path=/index.html)|Using servlet org.apache.sling.servlets.get.DefaultGetServlet|TIMER_ELAPSED=17 msec
24 (2009-10-07 11:11:29) TIMER_END|ServletResolution|URI=/index.html handled by Servlet=org.apache.sling.servlets.get.DefaultGetServlet|TIMER_ELAPSED=18 msec
26 (2009-10-07 11:11:29) Applying request filters
26 (2009-10-07 11:11:29) Calling filter: org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter
26 (2009-10-07 11:11:29) TIMER_START|org.apache.sling.servlets.get.DefaultGetServlet#0
26 (2009-10-07 11:11:29) Using org.apache.sling.servlets.get.impl.helpers.StreamRendererServlet to render for extension=null
27 (2009-10-07 11:11:29) TIMER_END|org.apache.sling.servlets.get.DefaultGetServlet#0|TIMER_ELAPSED=1 msec
27 (2009-10-07 11:11:29) TIMER_END|Request Processing|Request Processing|TIMER_ELAPSED=27 msec
The TIMER_ strings and pipe characters make that easier to parse.
> Add structure to SlingRequestProgressTracker messages
> -----------------------------------------------------
>
> Key: SLING-1139
> URL: https://issues.apache.org/jira/browse/SLING-1139
> Project: Sling
> Issue Type: Improvement
> Affects Versions: Engine 2.0.4
> Reporter: Bertrand Delacretaz
> Assignee: Bertrand Delacretaz
> Priority: Minor
> Fix For: Engine 2.0.6
>
>
> The SlingRequestProgressTracker messages contain useful timing information, structuring them a bit more would allow for parsing them to generate other representations.
> Here's an example of the current info (from http://localhost:8888/system/console/requests):
> 0 (2009-10-07 11:10:30) Starting Request Processing
> 0 (2009-10-07 11:10:30) Method=GET, PathInfo=/index.html
> 0 (2009-10-07 11:10:30) Starting ResourceResolution
> 6 (2009-10-07 11:10:30) URI=/index.html resolves to Resource=JcrNodeResource, type=nt:file, superType=null, path=/index.html, elapsed = 6ms
> 6 (2009-10-07 11:10:30) Resource Path Info: SlingRequestPathInfo: path='/index.html', selectorString='null', extension='null', suffix='null'
> 6 (2009-10-07 11:10:30) Starting ServletResolution
> 6 (2009-10-07 11:10:30) Starting resolveServlet(JcrNodeResource, type=nt:file, superType=null, path=/index.html)
> 6 (2009-10-07 11:10:30) Using servlet org.apache.sling.servlets.get.DefaultGetServlet, elapsed = 0ms
> 6 (2009-10-07 11:10:30) URI=/index.html handled by Servlet=org.apache.sling.servlets.get.DefaultGetServlet, elapsed = 0ms
> 6 (2009-10-07 11:10:30) Applying request filters
> 6 (2009-10-07 11:10:30) Calling filter: org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter
> 6 (2009-10-07 11:10:30) Starting org.apache.sling.servlets.get.DefaultGetServlet#0
> 6 (2009-10-07 11:10:30) Using org.apache.sling.servlets.get.impl.helpers.StreamRendererServlet to render for extension=null
> 7 (2009-10-07 11:10:30) org.apache.sling.servlets.get.DefaultGetServlet#0, elapsed = 1ms
> 7 (2009-10-07 11:10:30) Request Processing ends, elapsed = 7ms
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.