Project

General

Profile

Story #7001

Add log messages to indicate the start/end of indexing a pid

Added by Jing Tao over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Skye Roseboom
Category:
d1_cn_index_processor
Start date:
2015-04-02
Due date:
% Done:

100%

Story Points:
Sprint:

Description

Dave mentioned we need to log messages to indicate the start/end of indexing a pid at the INFO level. I looked and found we have something like:

[ INFO] 2015-04-02 21:38:17,908 (IndexTaskProcessorJob:execute:45) executing index task processor...
[ INFO] 2015-04-02 21:38:18,054 (IndexTaskProcessor:isObjectPathReady:255) Object path for pid: peggym.1303.4 is not available.
[ INFO] 2015-04-02 21:40:17,907 (IndexTaskProcessorJob:execute:45) executing index task processor...
[ INFO] 2015-04-02 21:40:18,030 (IndexTaskProcessor:isObjectPathReady:255) Object path for pid: peggym.1303.4 is not available.

It should like when it fails:

[ INFO] 2015-04-02 21:38:17,908 (IndexTaskProcessorJob:execute:45) start to index peggym1303.4
[ INFO] 2015-04-02 21:38:18,054 (IndexTaskProcessor:isObjectPathReady:255) Object path for pid: peggym.1303.4 is not available.
[ INFO] 2015-04-02 21:38:18,054 (IndexTaskProcessor:isObjectPathReady:255) failed to index peggym1303.4 .

It should like when it succeeds:

[INFO] 2015-04-02 21:38:17,908 (IndexTaskProcessorJob:execute:45) start to index peggym1303.4
......
[ INFO] 2015-04-02 21:38:18,054 (IndexTaskProcessor:isObjectPathReady:255) succeeded to index peggym1303.4 .

History

#1 Updated by Skye Roseboom over 9 years ago

  • % Done changed from 0 to 30
  • Project changed from Infrastructure to CN Index
  • Category set to d1_cn_index_processor
  • Status changed from New to In Progress
  • Target version changed from CCI-2.0.0 to CCI-1.5.1

#2 Updated by Skye Roseboom over 9 years ago

  • Tracker changed from Feature to Story
  • Status changed from In Progress to Testing
  • % Done changed from 30 to 50

Applied to trunk and release branch for cci 1.5.1

#3 Updated by Skye Roseboom over 9 years ago

  • Status changed from Testing to Closed
  • % Done changed from 50 to 100

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)