Logging flow steps
Logging is enabled using the FlowLogger object.
The HPSearch Engine also starts a Web Service Endpoint for querying
available flow Ids and their corresponding logs. The service is available at
http://host:port/FlowLogger.
The main functions available through the web service are
getFlowIds: Returns a list of currently running flows
getLog: Returns the Logged entries for the specified flow
- The format is
[TIMESTAMP]:ENTRY
Notes:
- If a flow is complete, it is automatically committed (saved in the
HPSEARCH_HOME/flowLog folder)
- Usually every flow log is identified with the flow ID which is a 128-bit UUID. If a particular
flow log exists and commit is sought on a flow with an identical flowID, then the new entries are
appended to the original log.
- Flows deployed through HPSearch flow system store general logs about
flow status. Additional steps can be added by a specific application.
- Currently the flow only stores the timestamp and the flow entry.
Last Updated: Apr 12, 2006
(back to Notes)