You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Rupert Westenthaler (JIRA)" <ji...@apache.org> on 2014/01/22 14:15:20 UTC

[jira] [Created] (STANBOL-1267) Add Loggings for execution times for enhancement requests

Rupert Westenthaler created STANBOL-1267:
--------------------------------------------

             Summary: Add Loggings for execution times for enhancement requests
                 Key: STANBOL-1267
                 URL: https://issues.apache.org/jira/browse/STANBOL-1267
             Project: Stanbol
          Issue Type: Improvement
          Components: Enhancer
    Affects Versions: 0.12.0
            Reporter: Rupert Westenthaler
            Assignee: Rupert Westenthaler
            Priority: Minor


This will provide INFO level logging of the execution times for Enhancement requests. The logs will use a Logger named after EnhancementJobManager interface so that user can configure the level independently of other - implementation specific logs.

Here is an desired output:

    Executed Chain {chain-name} in {duration}ms
      > ContentItem: {content-item-uri}
      - {engine-name-1} in {duration}ms ({duration-percentage}%)
      - {engine-name-2} in {duration}ms ({duration-percentage}%)
       ...
      - {engine-name-n} in {duration}ms ({duration-percentage}%)
      > concurrency: {concurrency} ({concurrency-percentage}%)

where 
  
   concurrency := sum(engine-duration)/chain-duration
   concurrency-percentage := (concurrency - 1)*100



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)