Skip to content

Commit

Permalink
Additional logging of workflowID/RunID in Matching Engine.
Browse files Browse the repository at this point in the history
Reviewers: samar, maxim, tamer

Differential Revision: https://code.uberinternal.com/D735210
  • Loading branch information
sivakku committed Feb 10, 2017
1 parent 4eb43dd commit de95dba
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions service/matching/matchingEngine.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,8 @@ func (e *matchingEngineImpl) getTaskListContext(taskList *taskListID) (*taskList
// AddDecisionTask either delivers task directly to waiting poller or save it into task list persistence.
func (e *matchingEngineImpl) AddDecisionTask(addRequest *m.AddDecisionTaskRequest) error {
taskListName := addRequest.GetTaskList().GetName()
e.logger.Debugf("Received AddDecisionTask for taskList=%v", addRequest.TaskList.Name)
e.logger.Debugf("Received AddDecisionTask for taskList=%v, WorkflowID=%v, RunID=%v",
addRequest.TaskList.Name, addRequest.Execution.WorkflowId, addRequest.Execution.RunId)
taskList := newTaskListID(taskListName, persistence.TaskListTypeDecision)
t, err := e.getTaskListContext(taskList)
if err != nil {
Expand Down Expand Up @@ -212,7 +213,8 @@ func (e *matchingEngineImpl) AddDecisionTask(addRequest *m.AddDecisionTaskReques
// AddActivityTask either delivers task directly to waiting poller or save it into task list persistence.
func (e *matchingEngineImpl) AddActivityTask(addRequest *m.AddActivityTaskRequest) error {
taskListName := addRequest.GetTaskList().GetName()
e.logger.Debugf("Received AddActivityTask for taskList=%v", taskListName)
e.logger.Debugf("Received AddActivityTask for taskList=%v WorkflowID=%v, RunID=%v",
taskListName, addRequest.Execution.WorkflowId, addRequest.Execution.RunId)
taskList := newTaskListID(taskListName, persistence.TaskListTypeActivity)
t, err := e.getTaskListContext(taskList)
if err != nil {
Expand Down

0 comments on commit de95dba

Please sign in to comment.