[
https://issues.apache.org/jira/browse/SLING-1139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14546308#comment-14546308
]
Alexander Klimetschek commented on SLING-1139:
----------------------------------------------
See SLING-4717 for an option to indent the log.
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)